proclipsing error: Can't find dependent libraries for jogl.dll
in
Integration and Hardware
•
2 years ago
Hi
I'm fairly new to processing and eclipse, but learning it all quickly.
I'm writing my fist applet on eclipse, using the proclipsing plugin.
It seems to be working ok. I successfully imported core libs and external libraries opengl and toxiclibs_p5 and toxiclibscore.
when i run the applet it throws the error
Exception in thread "Animation Thread" java.lang.UnsatisfiedLinkError: C:\Users\Tom\workspace\RectTree_tx3D\lib\base\opengl\jogl.dll: Can't find dependent libraries
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 processing.opengl.PGraphicsOpenGL.allocate(Unknown Source)
at processing.core.PGraphics3D.setSize(Unknown Source)
at processing.core.PApplet.makeGraphics(Unknown Source)
at processing.core.PApplet.size(Unknown Source)
at processing.core.PApplet.size(Unknown Source)
at RectTree_Main.setup(RectTree_Main.java:16)
at processing.core.PApplet.handleDraw(Unknown Source)
at processing.core.PApplet.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
after a bit of googling, it seems that my problem has to do with setting the PATH to these dependent libs.
when i set up the project initially, i made it as an application, so the libs would be copied to my local project folder. I lso checked the Path Variables by Rt Clicking on my project (in the proj explorer) > Properties > Resource > Linked Resour ces and set Paths to my project folder and the Sketches/libraries folder. I even set my window Environment Path to these places, and still no love. perhaps the dependent libraries are not in there.
my project/lib/base contains core and opengl which contains
jogl_cg.dll, jogl_awt.dll, jogl.dll
which makes me think that the dependent libraries are in fact where they should be.
i''m importing them properly
import processing.core.*;
import processing.opengl.*;
import toxi.processing.*;
import toxi.geom.*;
so it seems that java is not seeing these libs, or some of the libs i need are missing.
any suggestions on how to determine if i am missing some libs or to set the path better?
maybe I am on the wrong track entirely.
thanks in advance
Thomas
I'm fairly new to processing and eclipse, but learning it all quickly.
I'm writing my fist applet on eclipse, using the proclipsing plugin.
It seems to be working ok. I successfully imported core libs and external libraries opengl and toxiclibs_p5 and toxiclibscore.
when i run the applet it throws the error
Exception in thread "Animation Thread" java.lang.UnsatisfiedLinkError: C:\Users\Tom\workspace\RectTree_tx3D\lib\base\opengl\jogl.dll: Can't find dependent libraries
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 processing.opengl.PGraphicsOpenGL.allocate(Unknown Source)
at processing.core.PGraphics3D.setSize(Unknown Source)
at processing.core.PApplet.makeGraphics(Unknown Source)
at processing.core.PApplet.size(Unknown Source)
at processing.core.PApplet.size(Unknown Source)
at RectTree_Main.setup(RectTree_Main.java:16)
at processing.core.PApplet.handleDraw(Unknown Source)
at processing.core.PApplet.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
after a bit of googling, it seems that my problem has to do with setting the PATH to these dependent libs.
when i set up the project initially, i made it as an application, so the libs would be copied to my local project folder. I lso checked the Path Variables by Rt Clicking on my project (in the proj explorer) > Properties > Resource > Linked Resour ces and set Paths to my project folder and the Sketches/libraries folder. I even set my window Environment Path to these places, and still no love. perhaps the dependent libraries are not in there.
my project/lib/base contains core and opengl which contains
jogl_cg.dll, jogl_awt.dll, jogl.dll
which makes me think that the dependent libraries are in fact where they should be.
i''m importing them properly
import processing.core.*;
import processing.opengl.*;
import toxi.processing.*;
import toxi.geom.*;
so it seems that java is not seeing these libs, or some of the libs i need are missing.
any suggestions on how to determine if i am missing some libs or to set the path better?
maybe I am on the wrong track entirely.
thanks in advance
Thomas
3