I hope there is someone out there who knows how to solve this problem.
I use SBT to build my scala applications.
Now I want to build a Scala application with JOGL - But I'm unable to create any executable jar of my test application :/.
Here's what currently works and what does not work:
sbt compile: ok
sbt publish: ok
sbt package: ok
sbt run: ok
Creating eclipse projects using sbt-eclipse also works good (
https://github.com/typesafehub/sbteclipse/)
sbt eclipse: ok - I can code and run my JOGL application from within eclipse, yay! :)
BUT, I have not been able to create any form of executable JAR or other releasable application form using SBT (which I need for distribution):
sbt assembly: fail to build - dll file name conflicts (
https://github.com/sbt/sbt-assembly)
sbt pack: fail to run - native dlls are not found (
https://github.com/xerial/sbt-pack)
sbt one-jar: fail to run - native dlls are not found (
https://github.com/sbt/sbt-onejar)
the three above work fine for my non-jogl projects :S.
Because I'm new to maven/sbt/gradle-ish build systems I'm not really sure where to look for the solution
I Looked at
https://jogamp.org/wiki/index.php/JogAmp_JAR_File_Handling but didnt really understand much unfortunately
My managed dependencies are:
libraryDependencies += "org.jogamp.gluegen" % "gluegen-rt-main" % "2.2.4"
libraryDependencies += "org.jogamp.jogl" % "jogl-all-main" % "2.2.4"
win7 64bit
64bit oracle java8 u20 jre
sbt 0.13.5
https://github.com/GiGurra/gat - here is my test application if you want to try it (You'll need sbt to build it)