Login  Register

java.lang.UnsatisfiedLinkError

Posted by Ll_Taz on Jun 27, 2013; 6:05am
URL: https://forum.jogamp.org/java-lang-UnsatisfiedLinkError-tp4029481.html

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.