From: Alban Cousini <aco...@wa...> - 2003-04-20 19:11:53
|
Hi Mark, I am facing the same issue while porting OpenMind on MacOSX. On my machine, I get this error only in fullscreen mode. Since no sample provided with the MacOSX release of gl4java uses fullscreen mode, I beleive the compatibility for fullscreen mode has not been implemented, but we should ask Gerard Ziemsky what he knows about this issue. Running your program in a regular window should work fine. Another issue I have been facing was an "invalid drawable" error. It occurs when you try to create a GLAnimCanvas inside a Jframe. There is an incompatibility. Thus if you want to use swing, create a regular awt Frame, and add your GLAnimCanvas to it. You can always add swing UI components to this frame, but the Window component must not be a Jframe. I'd be interested to know if you found a workaround for this error as I am myself interested into MacOSX. Gerard Ziemsky told me he was no longer expecting to support the MacOSX por= t of gl4java because the implementation has become too complicate. Apparently= , the Java 1.4.1 implementation has been done by someaone named Dmitry Markman.=20 Sven Gothel has been giving very few signs of life lately and is answering less and less my emails since a few monthes. I'm getting pretty worried about the future of gl4java in general and it's MacOSX implementation in particular. I hope the API is not going to die slowly... If someone has som= e more optimistic news, I'd be interested to ear these. Regards, Alban Cousini=E9 Le 20/04/03 18:34, =AB=A0M...@ps...=A0=BB <Mar...@ps...> = a =E9crit=A0: > Hi all, >=20 > Now that I see some activity back on the list, I'm interested in > perhaps porting some existing OpenGL code to Java. I've mostly just > been bring things back up, installing gl4java, etc. I have some older > code that I've used in the past to test with. I have Win XP/2K running > fine. However, when I run the code on Mac OS X I get the following > error: >=20 > 2003-04-20 08:00:45.258 java[1878] invalid memory allocation >=20 > It appears to occur right after I call start() on the GLAnimCanvas object= . >=20 > I have installed the 1.4 port from Gerard Ziemski's page: binaries and > src code of the Mac OS X port (for jdk14) by Dmitry Markman >=20 > I'm running OS 10.2.5 with java version 1.4.1_01 >=20 > Any ideas what it could be? Again the code runs fine in windows. >=20 > Thanks, I look forward to developing with GL4Java again. >=20 > Mark Powell >=20 >=20 > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > gl4java-usergroup mailing list > gl4...@li... > https://lists.sourceforge.net/lists/listinfo/gl4java-usergroup ------ Fin du message transf=E9r=E9 |