From: sven g. <sgo...@ja...> - 1999-12-30 21:41:12
|
Billy Mahoney wrote: > > I restarted, I backtracked to Mesa3.0. Now the naming is correct. I then > proceeded to reinstall gl4java using the autoinstaller applet. > Ok - I am now workin on Mesa3.1 compatibility. This supports a better OpenGL 1.2 compatibility ... Also the library bindings are better (using libGL.* instead of lebMesaGL.* ). > 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. > > When I try to run a demo, I get the following errors in the java console > of Netscape. > > java.lang.UnsatisfiedLinkError: native method > gl4java/GLFuncJauJNI.glClearColor not found: : undefined symbol: > Java_gl4java_GLFuncJauJNI_glClearColor__FFFF > at waveCvs.init(waveCvs.java:161) > at gl4java.awt.GLCanvas.paint(GLCanvas.java:246) > at java.awt.Component.dispatchEventImpl(Component.java:1734) > * at java.awt.Component.dispatchEvent(Component.java:1715) > at > java.awt.EventDispatchThread$EventPump.dispatchEvents(EventDispatchThread.java:83) > Ok - please test your installation while runnung: >java gl4java.GLContext Where you will receive the true versions of the native and java libs you are using ! I guess, you are using a different, not regular GL4Java native library, because I do not know where the symbol Java_gl4java_GLFuncJauJNI_glClearColor__FFFF is needed for, I only know the symbol Java_gl4java_GLFuncJauJNI_glClearColor ! I do not know how your java system wants the __FFFF extension ! Because you said that you do use Netscape, please tell me the version - I do use: - glibc2.1 - Netscape 4.7 - mesa 3.0/3.1 - GNU/Linux 2.2.13 Because your system wants the symbols for all the GL4Java native methods with argument signature extensions for argument overloading, I think this is about the JNI implementation of the java virtual machine. The native libraries of GL4Java for version 2.1.3.1 and above do not have signatures for arguments included, except for the special methods, which are overloaded, like: glColorPointer__III_3B ! Yours, Sven Goethel -- mailto:sgo...@ja... www : http://www.jausoft.com voice : +49-521-2399440, +49-170-2115963; fax: +49-521-2399442 |