saiful-islam / proclipsing

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

GLGraphics export does not work #30

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a project using the GLGraphics renderer
2. Export to application
3. Run the application

What is the expected output? What do you see instead?
The app should run; instead, it fails with a NoClassDefFoundError.

What version of the product are you using? On what operating system?
OSX 10.6.8, Eclipse Indigo (3.7.1?), current version of proclipsing

Please provide any additional information below.
i believe GLGraphics is integrated into Processing 2.0, so this will be an 
issue for GL export from here on out.

Original issue reported on code.google.com by e...@transmote.com on 16 Nov 2011 at 6:58

GoogleCodeExporter commented 9 years ago
hm, can't seem to edit an issue once it's entered...

but i just realized i incorrectly reported the error.  it's not a 
NoClassDefFoundError, it's an UnsatisfiedLinkError: no jogl in 
java.library.path.

looking inside the Java folder within the exported application (also forgot to 
mention i've only tested this with an OSX application) i see that none of the 
normal files (core.jar, jogl.jar, jnilibs) are present, only the 
application-specific jar (e.g. MyGLGraphicsTest.jar).

copying them into the Java folder within the application allows the application 
to launch and run correctly.

Original comment by e...@transmote.com on 16 Nov 2011 at 8:32