ymuruvi / proclipsing

Automatically exported from code.google.com/p/proclipsing
0 stars 0 forks source link

OpenGL in Proclipsing with Processing-1.5 #26

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.running a sketch using OpenGL with Processing 1.5 causes an empty window and 
error message (below)

What is the expected output? What do you see instead?
Error data:

Exception in thread "Animation Thread" java.lang.UnsatisfiedLinkError: 
C:\Users\Dave Miller\workspace\Geometry\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 geometry.Geometry.setup(Geometry.java:22)
    at processing.core.PApplet.handleDraw(Unknown Source)
    at processing.core.PApplet.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

What version of the product are you using? On what operating system?
windows 7 SP1 64 bit
Processing 1.5
Java SE Development Kit 6 update 26, 64 bit
Eclipse build 20110301-1815

Please provide any additional information below.

Original issue reported on code.google.com by DaveBMil...@gmail.com on 25 Jun 2011 at 6:54

GoogleCodeExporter commented 8 years ago
I'm getting the same issue, using toxiclibs.
I'm wondering if there is a workaround? I've tried running as application with 
no luck.
Maybe Run>Configuration with some settings might do it?
I tried adding a class path to my opengl lib folder and it didn't work.
Hoping someone finds a way to make this work.

Original comment by biomorph...@gmail.com on 16 Aug 2011 at 9:02

GoogleCodeExporter commented 8 years ago
Hey guys,

I think this is an issue of your machine being a different architecture than 
the libs are compiled with.  Try answer suggested here:

http://forum.processing.org/topic/openkinect-in-eclipse-libnative-problem

If that doesn't fix the issue, please reopen this.

Matt

Original comment by maddpar...@gmail.com on 17 Aug 2011 at 9:47