Import JOGL and GlueGen as Maven dependencies

40 views
Skip to first unread message

Leon Mohring

unread,
Jun 26, 2019, 8:59:31 AM6/26/19
to Jaamsim Users Discussion Group
Hi everyone,

i am currently trying to set up JaamSim as a Maven project. I want to import JOGL and GlueGen as dependencies in the pom.xml file from the Maven central repo (see Links below):

https://search.maven.org/artifact/org.jogamp.jogl/jogl/2.3.2/jar
https://search.maven.org/artifact/org.jogamp.gluegen/gluegen/2.3.2/jar

When trying to run JaamSim in Eclipse, i get this error message:

"Exception in thread "RenderThread" java.lang.UnsatisfiedLinkError: Can't load library: C:\user\jaamsim-master\natives\windows-amd64\\gluegen-rt.dll"

Help to fix this problem is highly apreciated!
Thanks
Leon

Harvey Harrison

unread,
Jul 11, 2019, 9:42:54 PM7/11/19
to Jaamsim Users Discussion Group
Hi Leon,

I'm afraid I have never been able to get Maven to work with JOGL/Gluegen because of the separate dependencies on the java parts and the native dlls. I've always found it much easier to just download the jogl-all and gluegen-rt jar files and link them in to my programming environment (we ship a copy of these in our git repo, consult the programming manual). If you do find a way to get this working, please post the recipe here for others, but we generally just use ant to build everything as we only have the one external dependency.

Cheers,

Harvey
Reply all
Reply to author
Forward
0 new messages