Automatically add jogl and gsvideo library files to Mac OS X application bundle.
in
Integration and Hardware
•
2 years ago
Hi,
I got a quiet big sketch running in Eclipse with GLGraphics and GSVideo. Everything works fine to run from the Eclipse environment.
But when I compile the sketch by "Export" > "Other" > "Mac OS X application bundle", it doesn't add the jnilib files that comes with jogl and GSVideo to the bundle, it only adds the jar-files.
I have linked libgluegen-rt.jnilib, libjogl_awt.jnilib, libjogl_cg.jnilib and libjogl.jnilib to jogl.jar and gluegen-rt.jar in "Java Build Path" > Libraries > Native library location. And same thing with the jnilib files to GSVideo.
I can get it working by rightclicking the compiled bundle and click "Show Package Contents" and go to Contents > Resources > Java and add the jnilib files, but I want to add them when I Export it from Eclipse.
Any suggestions?
Many thanks!
Jonas
1