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
/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)
(It still is for Processing 1.5+ only. Next release will be for Processing 2.)
Lots of bug fixes, improvements, added documentation, and many new examples (both in the distribution for Processing as well as for Eclipse). Check out details at
release-notes.txt
It's just a few questions, and will take not more than 10 minutes.
Please respond before Thursday, 6th December 2012.
Thanks a lot!
The survey is part of a PhD by Till Nagel, under the supervision of Prof Erik Duval, KU Leuven. All responses are anonymous. We do not track your e-mail address or other personally identifiable information. Feel free to forward. This is the only message you will receive from us regarding the survey. For questions or feedback please contact Till Nagel, nagel (ät) fh-potsdam.de
I am facing an issue with the rendering of rotated objects in applets from within Eclipse. It seems as if the wrong renderer P2D is used, even though the program is initialized with Java2D.
My test program simply rotates three close-by lines. In Processing this is rendered correctly with the default renderer (Java2D). When using P2D, the lines jump and are not parallel all the time (both with smooth() and without).
In Eclipse this always happens, whether using P2D or Java2D. Only when starting it as application, it works as expected.