You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Depending on your code, the GLProfile class gets never called which prevent the JOGL jar from being expanded.
A possible fix is to invoke GLProfile.initSingleton(); at the beginning of your program. This will force the jars to be expanded and then you do not miss any lib.
How to debug native library loading issues
Enabling -Djogamp.debug.JarUtil -Djogamp.debug.JNILibLoader will display the jar extraction and native libs loading
The first to be mentioned in console should be Gluegen.
Depending on your code, the
GLProfile
class gets never called which prevent the JOGL jar from being expanded.A possible fix is to invoke
GLProfile.initSingleton();
at the beginning of your program. This will force the jars to be expanded and then you do not miss any lib.How to debug native library loading issues
-Djogamp.debug.JarUtil -Djogamp.debug.JNILibLoader
will display the jar extraction and native libs loadingJarUtil: EXTRACT[1]: [gluegen_rt -> ] natives/macosx-universal/libgluegen_rt.dylib -> /var/folders/d2/85g_sxm91rg71yyky4gg6l6h0000gn/T/jogamp_0000/file_cache/jln7779685231866426360/jln1167618764182536803/natives/macosx-universal/libgluegen_rt.dylib: 85840 bytes, addedAsNativeLib: true
libgluegen_rt.dylib
if it also contains other dylibs. There should be 6 including gluegen.Classes triggering jar expansions
For JOGL developers :
Platform.java
(static initializer callsJNILoaderBase.addNativeJarLibs
)GLProfile.java
(if not, callGLProfile.initSingleton();
)NWJNILibLoader
,NewtJNILibLoader
, etcThe text was updated successfully, but these errors were encountered: