From: Tamara M. <tm...@cs...> - 2005-03-03 05:13:16
|
Hi all you GL4Java loyalists, I'm trying to get gl4java to work on a recent version of Linux. I bitterly regret upgrading my Linux laptop, since it all worked OK on the old version. I'm now running Fedore Core 2, the 2.6.9 kernel. I really really really want to be able to run my software again on my laptop. I'm running into the same error that I've seen several posts about: An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0xEF1 Function=[Unknown.] Library=(N/A) [....] I can post the thread and library dump if that would be helpful, but I strongly suspect it's the same known problem as all the others - an OpenGL driver problem. I've seen several postings attributing this to nVidia drivers, but I'm not using an nVidia driver. It's an ATI Radeon Mobility 9000 card, and I'm running the following OpenGL version: % rpm -qif /usr/X11R6/lib/libGL.so.1.2 Name : xorg-x11-Mesa-libGL Source RPM: xorg-x11-6.7.0-2.src.rpm I noticed that in 2003 Ken answered several questions with "switch to jogl, gl4java isn't being supported". Even if I wanted to port our codebase (which I don't right now), I really need control over the graphics context in a way that as far as I can tell jogl doesn't support (i.e. I need glMakeCurrent). I also saw some postings saying that even if the binary installation doesn't work there's a workaround in the CVS library. So I tried compiling the latest version of gl4java by checking it out of the repository like this: cvs -z3 -d:pserver:ano...@cv...:/cvsroot/gl4java co GL4Java When I set up the Makefile to use jdk1.4, then the compile in the directory GL4Java/GL4Java dies on the following error: gl4java/awt/GLOffScreenDrawable.java:75: gl4java.awt.GLOffScreenDrawable is not abstract and does not override abstract method removeKeyListener(java.awt.event. KeyListener) in gl4java.drawable.GLDrawable public class GLOffScreenDrawable I then noticed that the Makefile seems pretty insistent on also having java1.3 available, so I installed that too. In that case I get 100 compile errors instead of just one, so that wasn't really progress. Same place, GL4Java/GL4Java /usr/java/jdk1.3.1_15/bin/javac -classpath ".:/home/tmm/build/GL4Java.fromsrc/GL4Java/GL4Java:/home/tmm/build/GL4Java.fromsrc/GL4Java/GL4Java/capsapi_classes.zip" -g -deprecation -d /home/tmm/build/GL4Java.fromsrc/lib gl4java/GL4JavaInitException.java gl4java/jau/awt/WinHandleAccess.java gl4java [.....] error: compiler message file broken: key=compiler.err.sun.io.MalformedInputException arguments=null, null, null, null, null, null, null error: compiler message file broken: key=compiler.err.sun.io.MalformedInputException arguments=null, null, null, null, null, null, null error: compiler message file broken: key=compiler.err.sun.io.MalformedInputException arguments=null, null, null, null, null, null, null error: compiler message file broken: key=compiler.err.sun.io.MalformedInputException arguments=null, null, null, null, null, null, null error: compiler message file broken: key=compiler.err.sun.io.MalformedInputException arguments=null, null, null, null, null, null, null gl4java/drawable/SunJDK13GLDrawableFactory.java:30: gl4java.awt.GLCanvas is not public in gl4java.awt; cannot be accessed from outside package public GLCanvas createGLCanvas(GLCapabilities capabilities, ^ gl4java/drawable/GLDrawableFactory.java:161: gl4java.awt.GLCanvas is not public in gl4java.awt; cannot be accessed from outside package public GLCanvas createGLCanvas(GLCapabilities capabilities, Any ideas would be immensely appreciated. Thanks, Tamara Munzner --- Tamara Munzner, Assistant Professor Computer Science Dept, Univ of British Columbia tm...@cs..., http://www.cs.ubc.ca/~tmm |