Re: Need help setting up and building JOGL project
Posted by Neil on Mar 31, 2012; 5:17pm
URL: https://forum.jogamp.org/Need-help-setting-up-and-building-JOGL-project-tp3873346p3873816.html
Ok well this is what I am doing for now then,
I have my project which I add to a .jar file and I put this along side all the libraries and data like this
Some_arbitrary_folder
- - myproject.jar
- - jogl.all.jar
- - gluegen-rt.jar
- - gluegen-rt-natives-windows-i586.jar
- - jogl-all-natives-windows-i586.jar
- - jogl-all-natives-windows-amd64.jar
- - gluegen-rt-natives-windows-amd64.jar
- - Some_folder_for _images_etc
- - - - someimage.png
- - - - etc...
This now runs correctly so thank you.
I assume then that this being the case if I wanted all OS (mac & linux) to run the file I could simply include all these jars as well...
- gluegen-rt-natives-macosx-universal.jar
- jogl-all-natives-macosx-universal.jar
- gluegen-rt-natives-linux-i586.jar
- jogl-all-natives-linux-i586.jar
- gluegen-rt-natives-linux-amd64.jar
- jogl-all-natives-linux-amd64.jar
Seeing as all these other .jars are not very large it may be a handy way to deploy without making individual installers for each OS and architecture. Would you say that this is a good idea?
Note. I intend to stick all libs in their own folder just as soon as I figure out how lol!