getting errors regarding "natives" in Eclipse
Posted by egc2224 on
URL: https://forum.jogamp.org/getting-errors-regarding-natives-in-Eclipse-tp4007617.html
Hi
I am trying to build a java project in Eclipse using one of the older version of JOGL. The code in the project was written about two years ago and is based on the 1.1.2 version of JOGL. I was able to figure out how to link to the external jar file, and I found how you double click on it once you add it and open the dialog to show the part where you can link to the native dll file but the files I received with the project seems to be missing some of the required dll files. does anyone know where I can find the fill set of files that go with the original 1.1.2 version of JOGL. I have listed the manifest file contents and the native errors below to make clear which version and the issue I am dealing with.
Thanks,
Edward
ps. i just noticed that the error message is regarding fact that dll/jar is for 32 bit machine and i am on 64 bit laptop. but i will still need the full copy of JOGL version listed below, but will need it for the 64 bit machine it appears. thanks.
--- from manifest file --------------------------------------------------------------------------
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6.5
Created-By: 1.4.2_11-b04 (Sun Microsystems Inc.)
Specification-Title: Java Bindings for OpenGL API Specification
Specification-Version: 1.1.2
Specification-Vendor: Sun Microsystems, Inc.
Implementation-Title: Java Bindings for OpenGL Runtime Environment
Implementation-Version: 1.1.2-pre-20080523-02:11:31
Implementation-Vendor: java.net JOGL community
Extension-Name: javax.media.opengl
Implementation-Vendor-Id: com.sun
--- errors from eclipse console window ------------------------------------------------------
Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Users\Edward\Desktop\FlashDrive\Java\Eclipse\workspace\projectA\lib\windows-i586\jogl.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at com.sun.opengl.impl.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:189)
at com.sun.opengl.impl.NativeLibLoader.access$000(NativeLibLoader.java:49)
at com.sun.opengl.impl.NativeLibLoader$DefaultAction.loadLibrary(NativeLibLoader.java:80)
at com.sun.opengl.impl.NativeLibLoader.loadLibrary(NativeLibLoader.java:103)
at com.sun.opengl.impl.NativeLibLoader.access$200(NativeLibLoader.java:49)
at com.sun.opengl.impl.NativeLibLoader$1.run(NativeLibLoader.java:111)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.opengl.impl.NativeLibLoader.loadCore(NativeLibLoader.java:109)
at com.sun.opengl.impl.windows.WindowsGLDrawableFactory.<clinit>(WindowsGLDrawableFactory.java:60)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at javax.media.opengl.GLDrawableFactory.getFactory(GLDrawableFactory.java:106)
at com.ct.ogl.viewer.ModelViewer.createContents(ModelViewer.java:607)
at org.eclipse.jface.window.Window.create(Window.java:431)
at com.ct.ogl.viewer.ModelViewer.create(ModelViewer.java:461)
at org.eclipse.jface.window.Window.open(Window.java:790)
at com.ct.ogl.viewer.ModelViewer.main(ModelViewer.java:340)