Login  Register

Re: Error setting up JOGL library

Posted by gouessej on Jan 05, 2021; 12:01pm
URL: https://forum.jogamp.org/Error-setting-up-JOGL-library-tp4040939p4040941.html

Hello

There are multiple solutions:
- don't disable the automated native library loading and use jogamp-fat.jar (this JAR contains both the Java libraries and the native libraries), it works like a charm as you can see here
- disable the automated native library loading and set the Java library path as shown here, ensure that the directory used as the Java library path really contains the expected native libraries
- don't disable the automated native library loading and ensure that the JARs containing the native libaries of JOGL and GlueGen (gluegen-rt-natives-*-*.jar and jogl-all-natives-*-*.jar) are in the same directory than the JARs containing the Java libraries (jogl-all.jar and gluegen-rt.jar) as explained here

If nothing works, ensure that there is no paranoid virus scanner in your way (it doesn't seem to be your case as you seem to be under GNU Linux).

"Inconsistency detected by ld.so: dl-lookup.c: 111: check_match: Assertion `version->filename == NULL || ! _dl_name_match_p (version->filename, map)' failed!" might occur under some GNU Linux distributions. Please tell us which version of JOGL you use. Try to use the very latest release candidate of JOGL 2.4.

By the way, our tutorials aren't useless.
Julien Gouesse | Personal blog | Website