Native lib location not read correctly in Eclipse
in
Integration and Hardware
•
2 months ago
I am trying to set up Processing 2.0.1 in Eclipse, but fail to put the native jogl/gluegen libraries into another folder than the default lib. Before, my setup was
with /lib containing Processing's libraries, and /libNative containing the native OS dependent libraries. I then set the path to the native libs via the "Configure Build Path". (see http://i.imgur.com/IwAlPBz.png) But this seems to not work anymore. When I run the sketch I get a ZipException saying it could not find the native lib under the \lib folder (where it is not).
Not sure if a JOGL or Processing issue.
Any one an idea?
- /src
- /lib
- /libNative
with /lib containing Processing's libraries, and /libNative containing the native OS dependent libraries. I then set the path to the native libs via the "Configure Build Path". (see http://i.imgur.com/IwAlPBz.png) But this seems to not work anymore. When I run the sketch I get a ZipException saying it could not find the native lib under the \lib folder (where it is not).
- Catched ZipException: error in opening zip file, while TempJarCache.bootstrapNativeLib() of jar:file:/Projects/Unfolding/unfolding-src/lib/gluegen-rt-natives-macosx-universal.jar!/ (file:/Projects/Unfolding/unfolding-src/lib/ + gluegen-rt-natives-macosx-universal.jar)
- Exception in thread "Animation Thread" java.lang.UnsatisfiedLinkError: Can't load library: /System/Library/Frameworks/gluegen-rt.Framework/gluegen-rt
- at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1706)
- at java.lang.Runtime.load0(Runtime.java:770)
- at java.lang.System.load(System.java:1020)
- at com.jogamp.common.jvm.JNILibLoaderBase.loadLibraryInternal(JNILibLoaderBase.java:466)
- at com.jogamp.common.jvm.JNILibLoaderBase.access$000(JNILibLoaderBase.java:61)
- at com.jogamp.common.jvm.JNILibLoaderBase$DefaultAction.loadLibrary(JNILibLoaderBase.java:92)
- at com.jogamp.common.jvm.JNILibLoaderBase.loadLibrary(JNILibLoaderBase.java:330)
- at com.jogamp.common.os.DynamicLibraryBundle$GlueJNILibLoader.loadLibrary(DynamicLibraryBundle.java:390)
- at com.jogamp.common.os.Platform.loadGlueGenRTImpl(Platform.java:251)
- at com.jogamp.common.os.Platform.access$000(Platform.java:57)
- at com.jogamp.common.os.Platform$1.run(Platform.java:186)
- at com.jogamp.common.os.Platform$1.run(Platform.java:183)
- at java.security.AccessController.doPrivileged(Native Method)
- at com.jogamp.common.os.Platform.<clinit>(Platform.java:183)
- at javax.media.opengl.GLProfile.<clinit>(GLProfile.java:82)
- at processing.opengl.PGL.initSurface(PGL.java:489)
- at processing.opengl.PGraphicsOpenGL.initPrimary(PGraphicsOpenGL.java:5941)
- at processing.opengl.PGraphicsOpenGL.requestDraw(PGraphicsOpenGL.java:1604)
- at processing.core.PApplet.run(PApplet.java:2141)
- at java.lang.Thread.run(Thread.java:680)
Not sure if a JOGL or Processing issue.
Any one an idea?
1