Login  Register

Re: JOGL upgrade fails

Posted by Wade Walker on Feb 10, 2012; 3:00am
URL: https://forum.jogamp.org/JOGL-upgrade-fails-tp3728805p3731548.html

I think your problem is that you're missing gluegen-rt-natives-windows-*.jar, which contains gluegen-rt.dll, which contains the native code for com.jogamp.common.os.Platform  You get the UnsatisfiedLinkError because JNI can't find the native code entry points without the .dll being loaded.

Just to be sure, I tried this just now with the latest dev build on Windows 7 64-bit with Eclipse Indigo, and it seems to work OK. I downloaded the gluegen and jogl .7z files for the 2012-02-09 development build, and extracted these four files into one directory:

gluegen-rt.jar
gluegen-rt-natives-windows-amd64.jar
jogl.all.jar
jogl-all-natives-windows-amd64.jar

I created a user library in Eclipse and added gluegen-rt.jar and jogl.all.jar to it (without setting the native library locations). Then I used the new user library in a test project, and sucessfully drew a triangle.