Hi all,
I'm using JZY3D for 3D charts with JOGL and I just switch from JOGL 1.1.1 to JOGL2. But when I open a 3D chart I get this exception: java.lang.UnsatisfiedLinkError: jogamp.opengl.windows.wgl.WGL.dispatch_wglGetProcAddress1(Ljava/lang/String;J)J at jogamp.opengl.windows.wgl.WGL.dispatch_wglGetProcAddress1(Native Method) at jogamp.opengl.windows.wgl.WGL.wglGetProcAddress(WGL.java:276) at jogamp.opengl.windows.wgl.WindowsWGLDynamicLibraryBundleInfo.toolGetProcAddress(WindowsWGLDynamicLibraryBundleInfo.java:57) at com.jogamp.common.os.DynamicLibraryBundle.toolDynamicLookupFunction(DynamicLibraryBundle.java:349) at com.jogamp.common.os.DynamicLibraryBundle.dynamicLookupFunction(DynamicLibraryBundle.java:376) at com.jogamp.gluegen.runtime.opengl.GLProcAddressResolver.resolve(GLProcAddressResolver.java:53) at com.jogamp.gluegen.runtime.ProcAddressTable.setEntry(ProcAddressTable.java:151) at com.jogamp.gluegen.runtime.ProcAddressTable.reset(ProcAddressTable.java:127) at jogamp.opengl.windows.wgl.WindowsWGLDrawableFactory.<init>(WindowsWGLDrawableFactory.java:105) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at com.jogamp.common.util.ReflectionUtil.createInstance(ReflectionUtil.java:171) at com.jogamp.common.util.ReflectionUtil.createInstance(ReflectionUtil.java:193) at com.jogamp.common.util.ReflectionUtil.createInstance(ReflectionUtil.java:213) at com.jogamp.common.util.ReflectionUtil.createInstance(ReflectionUtil.java:235) at javax.media.opengl.GLDrawableFactory.initSingletonImpl(GLDrawableFactory.java:153) at javax.media.opengl.GLDrawableFactory.initSingleton(GLDrawableFactory.java:118) at javax.media.opengl.GLProfile.initProfilesForDefaultDevices(GLProfile.java:1444) at javax.media.opengl.GLProfile.access$100(GLProfile.java:76) at javax.media.opengl.GLProfile$1.run(GLProfile.java:174) at java.security.AccessController.doPrivileged(Native Method) at javax.media.opengl.GLProfile.initSingleton(GLProfile.java:140) at javax.media.opengl.GLProfile.initSingleton(GLProfile.java:199) at javax.media.opengl.GLProfile.getProfileMap(GLProfile.java:1914) at javax.media.opengl.GLProfile.get(GLProfile.java:815) at javax.media.opengl.GLProfile.get(GLProfile.java:831) ... Can somebody please tell me, why I this is exception is thrown? Thank you i nadvance. |
Administrator
|
Hi
At first, ensure that you use the same version of JOGL 2 than the one used to compile Jzy3D if you use a pre-compiled one, otherwise use the same JOGL build to compile Jzy3D and to run your application. Secondly, ensure that the JARs containing the native libraries of GlueGen and JOGL are in the same directories than jogl-all.jar and gluegen-rt.jar (which should be both in your classpath). Thirdly, ensure that there is no conflict with another version of JOGL, the old jogl.jar should not be in your classpath any more. Good luck.
Julien Gouesse | Personal blog | Website
|
Free forum by Nabble | Edit this page |