Re: JOGL with JWrapper deployment, FileNotFoundException "gluegen-natives-macosx-universal.jar"
Posted by
gouessej on
URL: https://forum.jogamp.org/JOGL-with-JWrapper-deployment-FileNotFoundException-gluegen-natives-macosx-universal-jar-tp4033500p4033507.html
I have looked at JWrapper's documentation and I have found nothing about native libraries. In my humble opinion, if you want to make it work very simply and without exposing yourself to the limitations and bugs of this tool, make a (fully working) fat JAR and give it to JWrapper instead of using tons of separate files. It's a first step, you can make something cleaner as a second step.
Look at
how we handle the JARs.
Just as a reminder, PackR is under a permissive license suitable for commercial applications too. My tool is under GPL v2 but you can use
my instructions to do something similar without it. "similar" doesn't mean "exactly the same".
Edit.: Please check that you haven't used gluegen.jar instead of gluegen
-rt.jar.
Edit.2: Don't include gluegen.jar:
-rw-r--r-- 1 nyholku staff 651688 6 Nov 07:21 gluegen.jar
Edit.3: purejavahidapi is a nice API. I'll implement similar features in NEWT Input API :)