From: Billy M. <bi...@am...> - 1999-12-30 18:56:38
|
Trying to run a demo from the command line results in the following Exception in thread "main" java.lang.NoClassDefFoundError: test1Cvs/ bash# java test1Cvs Sorry, can't find the library: GL4JavaJauGljJNI java.lang.UnsatisfiedLinkError: /usr/local/jdk1.2/jre/lib/i386/native_threads/li bGL4JavaJauGljJNI.so: /usr/lib/libMesaGL.so.3: undefined symbol: XShmDetach Sorry, can't find the library: GL4JavaJauGLJNI java.lang.UnsatisfiedLinkError: /usr/local/jdk1.2/jre/lib/i386/native_threads/li bGL4JavaJauGLJNI.so: /usr/lib/libMesaGL.so.3: undefined symbol: XShmDetach Sorry, can't find the library: GL4JavaJauGLUJNI java.lang.UnsatisfiedLinkError: /usr/local/jdk1.2/jre/lib/i386/native_threads/li bGL4JavaJauGLUJNI.so: /usr/lib/libMesaGL.so.3: undefined symbol: XShmDetach GLCanvas could not load def. native libs. Sorry, can't find the library: GL4JavaJauGljJNI java.lang.UnsatisfiedLinkError: /usr/local/jdk1.2/jre/lib/i386/native_threads/li bGL4JavaJauGljJNI.so: /usr/lib/libMesaGL.so.3: undefined symbol: XShmDetach Sorry, can't find the library: GL4JavaJauGLJNI java.lang.UnsatisfiedLinkError: /usr/local/jdk1.2/jre/lib/i386/native_threads/li bGL4JavaJauGLJNI.so: /usr/lib/libMesaGL.so.3: undefined symbol: XShmDetach Sorry, can't find the library: GL4JavaJauGLUJNI java.lang.UnsatisfiedLinkError: /usr/local/jdk1.2/jre/lib/i386/native_threads/li bGL4JavaJauGLUJNI.so: /usr/lib/libMesaGL.so.3: undefined symbol: XShmDetach could not load native libs:null, null, null Exception occurred during event dispatching: java.lang.UnsatisfiedLinkError: glGenTextures at test1Cvs.init(Compiled Code) at gl4java.awt.GLCanvas.paint(Compiled Code) at sun.awt.motif.MComponentPeer.handleEvent(Compiled Code) at java.awt.Component.dispatchEventImpl(Compiled Code) at java.awt.Component.dispatchEvent(Compiled Code) at java.awt.EventQueue.dispatchEvent(Compiled Code) at java.awt.EventDispatchThread.run(Compiled Code) Max Gilead wrote: > Billy Mahoney wrote: > > > I have the Mesa and GL4java libs in the /usr/lib and /usr/local/lib > > directories. I also have LD_LIBRARY_PATH set to point to both of those > > directories. > Just a guess: have you installed both Java part (jar file) and native > part (.so files) of GL4J? > > > When I try to run a demo, I get the following errors in the java console > > of Netscape. > Sorry, I have never tried running GL4J in applet. > > Try to run demos as applications. It would be easier to track down the > problem then. > > Bye, > Max > > -- > --- Max Gilead (gi...@li...) > --- http://3d.linart.krakow.pl/OfficinaArtificialis > --- http://fictor.sourceforge.net > {EOF} > > _______________________________________________ > gl4java-usergroup mailing list > gl4...@li... > http://lists.sourceforge.net/mailman/listinfo/gl4java-usergroup |