Login  Register

Re: UnsatisfiedLinkError

Posted by fa2545 on Sep 24, 2018; 5:33pm
URL: https://forum.jogamp.org/UnsatisfiedLinkError-tp4032563p4039236.html

I am very new to JOGL and I am getting the same error. Can anyone help me? I have been stuck on this for a week. It has been very frustrating. :(
I have added the jar files and libraries and everything. What am I doing wrong??
Here's my exact error:


Exception in thread "main" java.lang.UnsatisfiedLinkError: jogamp.common.jvm.JVMUtil.initialize(Ljava/nio/ByteBuffer;)Z
        at jogamp.common.jvm.JVMUtil.initialize(Native Method)
        at jogamp.common.jvm.JVMUtil.<clinit>(JVMUtil.java:58)
        at com.jogamp.common.os.Platform$1.run(Platform.java:320)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.jogamp.common.os.Platform.<clinit>(Platform.java:287)
        at com.jogamp.opengl.GLProfile.<clinit>(GLProfile.java:147)
        at org.yourorghere.Project2.<init>(Project2.java:44)
        at org.yourorghere.Project2.main(Project2.java:20)

in which line 44 is:
 GLProfile glProfile = GLProfile.get(GLProfile.GL3);

Any help is highly appreciated. TIA.