From: <Man...@t-...> - 2000-07-25 08:35:04
|
Absender: Man...@t-... Betreff: gl4java installation problem Hello all ! I'm just trying to install the GL4Java packages (version 2.4.0) for linux - a quite frustrating job during the last days :-) I used the step-by step installation "cookbook" from the packages and installed them manually. (GL4JInstaller didn't work for me at first ["cannot open file././..gl4java2.4.0.0-jar.zip"]. I had to remove the underlines in all downloaded filenames and substituted them by dots. Then it worked smoothly). However, after all the result of my effort to run examples from the command line is an error message : "undefined symbol: glXGetProcAddressARB" Nothing works. Possibly a glx problem ? I add the output of the "gears" and "gl4java.GLContext" examples together with some additional #comments# below - in the hope you'll find this useful. Maybe someone can support me to get things running. Thanks! Best regards, Manfred ###################################################################### software: # all libraries "out of the box"...# linux suse 6.4 kernel 2.2.14, i386, xserver xfree86 3.3.6 glx.so with glx-000229, mesa3.2dev /usr/lib/libGL.so ~.so.1 ~.so.1.0 /usr/lib/libMesaGL.so ~.so.3 ~.so.3.2 /usr/lib/libglut.la ~.so ~.so.3 ~.so.3.7 /usr/lib/libGLU.la ~.so ~.so.1 ~.so.1.2.0 /usr/lib/MesaGLU.la ~.so ~.so.3 ~.so.3.1.0 /usr/lib/libGL4JavaJauGLJNI.so ~.so.2 /usr/lib/libGL4JavaJauGLUJNI.so ~.so.2 /usr/lib/libGL4JavaJauGljJNI.so ~.so.2 # most of the precompiled c glutdemos and other examples are running # # hardware acceleration is proven and available in 800x600/16 resolution # java jdk1.2.2 from sun # java environment works well with other applications/applets # hardware: diamond viper v330 / nvidia riva 128, 4Mbyte -----------------------output from gl4java.GLContext----------------- bash-2.03# java gl4java.GLContext Sorry, can't find the library: GL4JavaJauGljJNI java.lang.UnsatisfiedLinkError: /opt/java/jdk1.2.2/jre/lib/i386/libGL4JavaJauGljJNI.so.2.4.0: /opt/java/jdk1.2.2/jre/lib/i386/libGL4JavaJauGljJNI.so.2.4.0: undefined symbol: glXGetProcAddressARB Sorry, can't find the library: GL4JavaJauGLJNI java.lang.UnsatisfiedLinkError: /opt/java/jdk1.2.2/jre/lib/i386/libGL4JavaJauGLJNI.so.2.4.0: /opt/java/jdk1.2.2/jre/lib/i386/green_threads/libGL4JavaJauGljJNI.so.2: undefined symbol: glXGetProcAddressARB Sorry, can't find the library: GL4JavaJauGLUJNI java.lang.UnsatisfiedLinkError: /opt/java/jdk1.2.2/jre/lib/i386/libGL4JavaJauGLUJNI.so.2.4.0: /opt/java/jdk1.2.2/jre/lib/i386/green_threads/libGL4JavaJauGljJNI.so.2: undefined symbol: glXGetProcAddressARB native library NOT loaded complete GLFunc implementation GLFuncJauJNI created succesfull GLUFunc implementation GLUFuncJauJNI created succesfull ------------------------output from gears example--------------------- bash-2.03# java gears Sorry, can't find the library: GL4JavaJauGljJNI java.lang.UnsatisfiedLinkError: /opt/java/jdk1.2.2/jre/lib/i386/libGL4JavaJauGljJNI.so.2.4.0: /opt/java/jdk1.2.2/jre/lib/i386/libGL4JavaJauGljJNI.so.2.4.0: undefined symbol: glXGetProcAddressARB Sorry, can't find the library: GL4JavaJauGLJNI java.lang.UnsatisfiedLinkError: /opt/java/jdk1.2.2/jre/lib/i386/libGL4JavaJauGLJNI.so.2.4.0: /opt/java/jdk1.2.2/jre/lib/i386/green_threads/libGL4JavaJauGljJNI.so.2: undefined symbol: glXGetProcAddressARB Sorry, can't find the library:GL4JavaJauGLUJNI java.lang.UnsatisfiedLinkError: /opt/java/jdk1.2.2/jre/lib/i386/libGL4JavaJauGLUJNI.so.2.4.0: /opt/java/jdk1.2.2/jre/lib/i386/green_threads/libGL4JavaJauGljJNI.so.2: undefined symbol: glXGetProcAddressARB GLAnimCanvas could not load def. native libs. set fps := 20.0 -> 50 [ms/frame] set fps := 30.0 -> 33 [ms/frame] init():gears$gearsCanvas[canvas0,0,0,400x400] Exception occurred during event dispatching: java.lang.UnsatisfiedLinkError: glViewport at gears$gearsCanvas.reshape(gears.java:141) at gears$gearsCanvas.init(gears.java:88) at gl4java.awt.GLCanvas.paint(GLCanvas.java:295) at sun.awt.motif.MComponentPeer.handleEvent(MComponentPeer.java, Compiled Code) at java.awt.Component.dispatchEventImpl(Component.java, Compiled Code) at java.awt.Component.dispatchEvent(Component.java, Compiled Code) at java.awt.EventQueue.dispatchEvent(EventQueue.java:283) at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:97) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:88) at java.awt.EventDispatchThread.run(EventDispatchThread.java:79) --------------------------parts of PATH ------------------------------ bash-2.03# export declare -x GLX_NO_DIRECT="t" declare -x HOSTTYPE="i386" declare -x LD_LIBRARY_PATH="/opt/kde/lib" #here libGL4Java*.so.*located# declare -x MACHTYPE="i386-suse-linux" declare -x OSTYPE="linux" declare -x PATH=" /opt/java/jdk1.2.2/lib:#here are the gl - jar files located# /opt/java/jdk1.2.2/bin: /opt/java/jdk1.2.2/bin/i386/green_threads: /opt/java/jdk1.2.2/jre/lib: #here again the gl - jar files located,too# /opt/java/jdk1.2.2/jre/lib/i386: #here are the libGL4Java*.so.*located# /opt/java/jdk1.2.2/jre/lib/i386/green_threads: #here again libGL4Java*.so.*# /sbin: /usr/lib: /usr/sbin: /usr/local/sbin: /usr/local/bin: /usr/bin: /usr/X11R6/bin: /opt/kde/bin: /opt/kde/lib" declare -x XKEYSYMDB="/usr/X11R6/lib/X11/XKeysymDB" declare -x XNLSPATH="/usr/X11R6/lib/X11/nls" ---------------------------EOF---------------------------------------- |