Bravo Sven :)
And thank you for publishing this work. I haven't found time to run integration tests of Jzy3D but I'll notify you when I get them up to date. As JavaFX was mentioned somewhere in the discussion : note that when trying NewtCanvasJavaFX the resize was not working (I think I was on macOS 11 + ARM64). I'll try again with your latest version. |
In reply to this post by Sven Gothel
Hi Sven, Great effort to push this release through. Thanks for that. Do you plan to propagate this release to Maven Central? Not that I'm particularly against configuring 3rd party maven repos in my projects, but JCenter was put down, JitPack outages are a kind of a tradition… I just have a feeling Maven Central is the safest place for artifacts. Cheers, Slav |
Administrator
|
I understand your position but using http://www.jogamp.org/deployment/maven/ isn't such a big deal. Maven Central isn't inherently safer. Personally, I'll use the development repository anew. I don't understand the trust put into those big centralized things. Anyway, it doesn't depend on me. Martin, what's your plan?
Julien Gouesse | Personal blog | Website
|
In reply to this post by Sven Gothel
Sven Gothel,
Great effect on 2.4.0 release. Thanks for that! It has been used in MeteoInfo 3.5.4 (http://www.meteothink.org/index.html). Regards Yaqiang
www.meteothink.org
|
Administrator
|
Cool stuff .. awesome, thank you! Will brush up our JOGL page next days .. adding your app ofc. Currently playing with our Graph font rendering and stuff. |
Administrator
|
I'm impatient to see your progress :)
Julien Gouesse | Personal blog | Website
|
Administrator
|
In reply to this post by Slav
The wiki explains how to use the test repository with Maven:
https://jogamp.org/wiki/index.php?title=Maven#The_jogamp.org_test_repository_(optional) I do this for Gradle: repositories { mavenCentral() maven { url "https://jogamp.org/deployment/maven" } } dependencies { implementation 'org.jogamp.gluegen:gluegen-rt-main:2.4.0' implementation 'org.jogamp.joal:joal-main:2.4.0' implementation 'org.jogamp.jogl:jogl-all-main:2.4.0' }
Julien Gouesse | Personal blog | Website
|
In reply to this post by Sven Gothel
Hi Sven,
Thank you a lot, I've been able to test from Maven on macOS 10.15 & 11, working on x86 and M1. I however got a weird crash with macOS 10.12. / JDK8 dyld: lazy symbol binding failed: Symbol not found: _objc_alloc_init Referenced from: /private/var/folders/36/6s_6y6b902s1lwb0gdfyq6100000gn/T/jogamp_0000/file_cache/jln9013896699252355855/jln4830495401242069341/natives/macosx-universal/libnativewindow_macosx.dylib Expected in: /usr/lib/libobjc.A.dylib dyld: Symbol not found: _objc_alloc_init Referenced from: /private/var/folders/36/6s_6y6b902s1lwb0gdfyq6100000gn/T/jogamp_0000/file_cache/jln9013896699252355855/jln4830495401242069341/natives/macosx-universal/libnativewindow_macosx.dylib Expected in: /usr/lib/libobjc.A.dylib So I enabled debug with -Djogamp.debug.JarUtil -Djogamp.debug.JNILibLoader -Djogamp.debug.IOUtil and see that the "missing jar" is successfully extracted in /var/folders/... but the it is later seeked in /private/var/folders/... where it is not copied. I however see some older jogamp_0000 file caches. getJarUri Default jar:file:/Users/martin/.m2/repository/org/jogamp/gluegen/gluegen-rt/2.4.0/gluegen-rt-2.4.0.jar!/com/jogamp/common/os/Platform.class -> jar:file:/Users/martin/.m2/repository/org/jogamp/gluegen/gluegen-rt/2.4.0/gluegen-rt-2.4.0.jar!/com/jogamp/common/os/Platform.class getJarUri res: com.jogamp.common.os.Platform -> jar:file:/Users/martin/.m2/repository/org/jogamp/gluegen/gluegen-rt/2.4.0/gluegen-rt-2.4.0.jar!/com/jogamp/common/os/Platform.class -> jar:file:/Users/martin/.m2/repository/org/jogamp/gluegen/gluegen-rt/2.4.0/gluegen-rt-2.4.0.jar!/com/jogamp/common/os/Platform.class IOUtil.getTempRoot(): tempX1 </var/folders/36/6s_6y6b902s1lwb0gdfyq6100000gn/T>, used true IOUtil.getTempRoot(): tempX3 </var/folders/36/6s_6y6b902s1lwb0gdfyq6100000gn/T>, used false IOUtil.getTempRoot(): tempX4 </Users/martin>, used true IOUtil.getTempRoot(): tempX2 <null>, used false IOUtil.testDirImpl(tempX1): </var/folders/36/6s_6y6b902s1lwb0gdfyq6100000gn/T>, create true, exec false: true IOUtil.testDirImpl(tempX1): </var/folders/36/6s_6y6b902s1lwb0gdfyq6100000gn/T/jogamp_0000>, create true, exec false: true IOUtil.getTempRoot(): temp dirs: exec: /var/folders/36/6s_6y6b902s1lwb0gdfyq6100000gn/T/jogamp_0000, noexec: /var/folders/36/6s_6y6b902s1lwb0gdfyq6100000gn/T/jogamp_0000 IOUtil.testDirImpl(testDir): </var/folders/36/6s_6y6b902s1lwb0gdfyq6100000gn/T/jogamp_0000/file_cache>, create true, exec false: true JNILibLoaderBase: addNativeJarLibs( classesFromJavaJars = [class jogamp.common.Debug] singleJarMarker = null ) getJarUri Default jar:file:/Users/martin/.m2/repository/org/jogamp/gluegen/gluegen-rt/2.4.0/gluegen-rt-2.4.0.jar!/jogamp/common/Debug.class -> jar:file:/Users/martin/.m2/repository/org/jogamp/gluegen/gluegen-rt/2.4.0/gluegen-rt-2.4.0.jar!/jogamp/common/Debug.class getJarUri res: jogamp.common.Debug -> jar:file:/Users/martin/.m2/repository/org/jogamp/gluegen/gluegen-rt/2.4.0/gluegen-rt-2.4.0.jar!/jogamp/common/Debug.class -> jar:file:/Users/martin/.m2/repository/org/jogamp/gluegen/gluegen-rt/2.4.0/gluegen-rt-2.4.0.jar!/jogamp/common/Debug.class getJarName res: gluegen-rt-2.4.0.jar JNILibLoaderBase: jarBasename: gluegen-rt-2.4.0 JNILibLoaderBase: addNativeJarLibsImpl( classFromJavaJar = class jogamp.common.Debug classJarURI = jar:file:/Users/martin/.m2/repository/org/jogamp/gluegen/gluegen-rt/2.4.0/gluegen-rt-2.4.0.jar!/jogamp/common/Debug.class jarBasename = gluegen-rt-2.4.0.jar os.and.arch = macosx-universal nativeJarBasename = gluegen-rt-2.4.0-natives-macosx-universal.jar ) JNILibLoaderBase: addNativeJarLibsImpl: initial: file:/Users/martin/.m2/repository/org/jogamp/gluegen/gluegen-rt/2.4.0/gluegen-rt-2.4.0.jar -> file:/Users/martin/.m2/repository/org/jogamp/gluegen/gluegen-rt/2.4.0/ JNILibLoaderBase: addNativeJarLibsImpl: nativeLibraryPath: natives/macosx-universal/ JNILibLoaderBase: addNativeJarLibsImpl: module: gluegen-rt-2.4.0-natives-macosx-universal.jar -> jar:file:/Users/martin/.m2/repository/org/jogamp/gluegen/gluegen-rt/2.4.0/gluegen-rt-2.4.0-natives-macosx-universal.jar!/ getJarFile.0: jar:file:/Users/martin/.m2/repository/org/jogamp/gluegen/gluegen-rt/2.4.0/gluegen-rt-2.4.0-natives-macosx-universal.jar!/ getJarFile.1: jar:file:/Users/martin/.m2/repository/org/jogamp/gluegen/gluegen-rt/2.4.0/gluegen-rt-2.4.0-natives-macosx-universal.jar!/ getJarFile res: /Users/martin/.m2/repository/org/jogamp/gluegen/gluegen-rt/2.4.0/gluegen-rt-2.4.0-natives-macosx-universal.jar JarUtil: extract: /Users/martin/.m2/repository/org/jogamp/gluegen/gluegen-rt/2.4.0/gluegen-rt-2.4.0-natives-macosx-universal.jar -> /var/folders/36/6s_6y6b902s1lwb0gdfyq6100000gn/T/jogamp_0000/file_cache/jln5321577959137417060/jln7442560202243158469, extractNativeLibraries true (natives/macosx-universal/), extractClassFiles false, extractOtherFiles false JarUtil: JarEntry : META-INF/MANIFEST.MF other-file skipped JarUtil: JarEntry : jogamp/nativetag/common/macosx/universal/TAG.class class-file skipped JarUtil: JarEntry : isNativeLib true, isClassFile false, isDir false, isRootEntry false JarUtil: MKDIR (parent): natives/macosx-universal/libgluegen_rt.dylib -> /var/folders/36/6s_6y6b902s1lwb0gdfyq6100000gn/T/jogamp_0000/file_cache/jln5321577959137417060/jln7442560202243158469/natives/macosx-universal JarUtil.fixNativeLibAttribs: /var/folders/36/6s_6y6b902s1lwb0gdfyq6100000gn/T/jogamp_0000/file_cache/jln5321577959137417060/jln7442560202243158469/natives/macosx-universal/libgluegen_rt.dylib - UnsatisfiedLinkError: com.jogamp.common.util.JarUtil.fixNativeLibAttribs(Ljava/lang/String;)Z JarUtil: EXTRACT[1]: [gluegen_rt -> ] natives/macosx-universal/libgluegen_rt.dylib -> /var/folders/36/6s_6y6b902s1lwb0gdfyq6100000gn/T/jogamp_0000/file_cache/jln5321577959137417060/jln7442560202243158469/natives/macosx-universal/libgluegen_rt.dylib: 134992 bytes, addedAsNativeLib: true JNILibLoaderBase: addNativeJarLibsImpl.X: gluegen-rt-2.4.0.jar / gluegen-rt-2.4.0-natives-macosx-universal.jar -> ok: true; duration: now 4 ms, total 4 ms (count 1, avrg 4,000 ms) JNILibLoaderBase: addNativeJarLibsWhenInitialized: count 1, ok true JNILibLoaderBase: loadLibraryInternal(gluegen_rt), TempJarCache: /var/folders/36/6s_6y6b902s1lwb0gdfyq6100000gn/T/jogamp_0000/file_cache/jln5321577959137417060/jln7442560202243158469/natives/macosx-universal/libgluegen_rt.dylib JNILibLoaderBase: System.load(/var/folders/36/6s_6y6b902s1lwb0gdfyq6100000gn/T/jogamp_0000/file_cache/jln5321577959137417060/jln7442560202243158469/natives/macosx-universal/libgluegen_rt.dylib) - mode 2 JNILibLoaderBase: loadLibraryInternal(gluegen_rt): OK - mode 2 JNILibLoaderBase: Loaded Native Library: gluegen_rt JNILibLoaderBase: loaded gluegen_rt JNILibLoaderBase: addNativeJarLibs( classesFromJavaJars = [class jogamp.nativewindow.Debug, class jogamp.opengl.Debug, class jogamp.newt.Debug] singleJarMarker = -all ) getJarUri Default jar:file:/Users/martin/.m2/repository/org/jogamp/jogl/jogl-all/2.4.0/jogl-all-2.4.0.jar!/jogamp/nativewindow/Debug.class -> jar:file:/Users/martin/.m2/repository/org/jogamp/jogl/jogl-all/2.4.0/jogl-all-2.4.0.jar!/jogamp/nativewindow/Debug.class getJarUri res: jogamp.nativewindow.Debug -> jar:file:/Users/martin/.m2/repository/org/jogamp/jogl/jogl-all/2.4.0/jogl-all-2.4.0.jar!/jogamp/nativewindow/Debug.class -> jar:file:/Users/martin/.m2/repository/org/jogamp/jogl/jogl-all/2.4.0/jogl-all-2.4.0.jar!/jogamp/nativewindow/Debug.class getJarName res: jogl-all-2.4.0.jar JNILibLoaderBase: jarBasename: jogl-all-2.4.0 JNILibLoaderBase: addNativeJarLibsImpl( classFromJavaJar = class jogamp.nativewindow.Debug classJarURI = jar:file:/Users/martin/.m2/repository/org/jogamp/jogl/jogl-all/2.4.0/jogl-all-2.4.0.jar!/jogamp/nativewindow/Debug.class jarBasename = jogl-all-2.4.0.jar os.and.arch = macosx-universal nativeJarBasename = jogl-all-2.4.0-natives-macosx-universal.jar ) JNILibLoaderBase: addNativeJarLibsImpl: initial: file:/Users/martin/.m2/repository/org/jogamp/jogl/jogl-all/2.4.0/jogl-all-2.4.0.jar -> file:/Users/martin/.m2/repository/org/jogamp/jogl/jogl-all/2.4.0/ JNILibLoaderBase: addNativeJarLibsImpl: nativeLibraryPath: natives/macosx-universal/ JNILibLoaderBase: addNativeJarLibsImpl: module: jogl-all-2.4.0-natives-macosx-universal.jar -> jar:file:/Users/martin/.m2/repository/org/jogamp/jogl/jogl-all/2.4.0/jogl-all-2.4.0-natives-macosx-universal.jar!/ getJarFile.0: jar:file:/Users/martin/.m2/repository/org/jogamp/jogl/jogl-all/2.4.0/jogl-all-2.4.0-natives-macosx-universal.jar!/ getJarFile.1: jar:file:/Users/martin/.m2/repository/org/jogamp/jogl/jogl-all/2.4.0/jogl-all-2.4.0-natives-macosx-universal.jar!/ getJarFile res: /Users/martin/.m2/repository/org/jogamp/jogl/jogl-all/2.4.0/jogl-all-2.4.0-natives-macosx-universal.jar JarUtil: extract: /Users/martin/.m2/repository/org/jogamp/jogl/jogl-all/2.4.0/jogl-all-2.4.0-natives-macosx-universal.jar -> /var/folders/36/6s_6y6b902s1lwb0gdfyq6100000gn/T/jogamp_0000/file_cache/jln5321577959137417060/jln7442560202243158469, extractNativeLibraries true (natives/macosx-universal/), extractClassFiles false, extractOtherFiles false JarUtil: JarEntry : META-INF/MANIFEST.MF other-file skipped JarUtil: JarEntry : jogamp/nativetag/opengl/macosx/universal/TAG.class class-file skipped JarUtil: JarEntry : isNativeLib true, isClassFile false, isDir false, isRootEntry false JarUtil.fixNativeLibAttribs: /var/folders/36/6s_6y6b902s1lwb0gdfyq6100000gn/T/jogamp_0000/file_cache/jln5321577959137417060/jln7442560202243158469/natives/macosx-universal/libjogl_desktop.dylib - OK JarUtil: EXTRACT[1]: [jogl_desktop -> ] natives/macosx-universal/libjogl_desktop.dylib -> /var/folders/36/6s_6y6b902s1lwb0gdfyq6100000gn/T/jogamp_0000/file_cache/jln5321577959137417060/jln7442560202243158469/natives/macosx-universal/libjogl_desktop.dylib: 1722744 bytes, addedAsNativeLib: true JarUtil: JarEntry : isNativeLib true, isClassFile false, isDir false, isRootEntry false JarUtil.fixNativeLibAttribs: /var/folders/36/6s_6y6b902s1lwb0gdfyq6100000gn/T/jogamp_0000/file_cache/jln5321577959137417060/jln7442560202243158469/natives/macosx-universal/libjogl_mobile.dylib - OK JarUtil: EXTRACT[2]: [jogl_mobile -> ] natives/macosx-universal/libjogl_mobile.dylib -> /var/folders/36/6s_6y6b902s1lwb0gdfyq6100000gn/T/jogamp_0000/file_cache/jln5321577959137417060/jln7442560202243158469/natives/macosx-universal/libjogl_mobile.dylib: 875832 bytes, addedAsNativeLib: true JarUtil: JarEntry : isNativeLib true, isClassFile false, isDir false, isRootEntry false JarUtil.fixNativeLibAttribs: /var/folders/36/6s_6y6b902s1lwb0gdfyq6100000gn/T/jogamp_0000/file_cache/jln5321577959137417060/jln7442560202243158469/natives/macosx-universal/libnativewindow_awt.dylib - OK JarUtil: EXTRACT[3]: [nativewindow_awt -> ] natives/macosx-universal/libnativewindow_awt.dylib -> /var/folders/36/6s_6y6b902s1lwb0gdfyq6100000gn/T/jogamp_0000/file_cache/jln5321577959137417060/jln7442560202243158469/natives/macosx-universal/libnativewindow_awt.dylib: 133432 bytes, addedAsNativeLib: true JarUtil: JarEntry : isNativeLib true, isClassFile false, isDir false, isRootEntry false JarUtil.fixNativeLibAttribs: /var/folders/36/6s_6y6b902s1lwb0gdfyq6100000gn/T/jogamp_0000/file_cache/jln5321577959137417060/jln7442560202243158469/natives/macosx-universal/libnativewindow_macosx.dylib - OK JarUtil: EXTRACT[4]: [nativewindow_macosx -> ] natives/macosx-universal/libnativewindow_macosx.dylib -> /var/folders/36/6s_6y6b902s1lwb0gdfyq6100000gn/T/jogamp_0000/file_cache/jln5321577959137417060/jln7442560202243158469/natives/macosx-universal/libnativewindow_macosx.dylib: 172448 bytes, addedAsNativeLib: true JarUtil: JarEntry : isNativeLib true, isClassFile false, isDir false, isRootEntry false JarUtil.fixNativeLibAttribs: /var/folders/36/6s_6y6b902s1lwb0gdfyq6100000gn/T/jogamp_0000/file_cache/jln5321577959137417060/jln7442560202243158469/natives/macosx-universal/libnewt_head.dylib - OK JarUtil: EXTRACT[5]: [newt_head -> ] natives/macosx-universal/libnewt_head.dylib -> /var/folders/36/6s_6y6b902s1lwb0gdfyq6100000gn/T/jogamp_0000/file_cache/jln5321577959137417060/jln7442560202243158469/natives/macosx-universal/libnewt_head.dylib: 225648 bytes, addedAsNativeLib: true JNILibLoaderBase: addNativeJarLibsImpl.X: jogl-all-2.4.0.jar / jogl-all-2.4.0-natives-macosx-universal.jar -> ok: true; duration: now 15 ms, total 19 ms (count 2, avrg 9,500 ms) JNILibLoaderBase: addNativeJarLibs0: done: jogl-all-2.4.0 getJarUri Default jar:file:/Users/martin/.m2/repository/org/jogamp/jogl/jogl-all/2.4.0/jogl-all-2.4.0.jar!/jogamp/opengl/Debug.class -> jar:file:/Users/martin/.m2/repository/org/jogamp/jogl/jogl-all/2.4.0/jogl-all-2.4.0.jar!/jogamp/opengl/Debug.class getJarUri res: jogamp.opengl.Debug -> jar:file:/Users/martin/.m2/repository/org/jogamp/jogl/jogl-all/2.4.0/jogl-all-2.4.0.jar!/jogamp/opengl/Debug.class -> jar:file:/Users/martin/.m2/repository/org/jogamp/jogl/jogl-all/2.4.0/jogl-all-2.4.0.jar!/jogamp/opengl/Debug.class getJarName res: jogl-all-2.4.0.jar JNILibLoaderBase: jarBasename: jogl-all-2.4.0 JNILibLoaderBase: addNativeJarLibsImpl( classFromJavaJar = class jogamp.opengl.Debug classJarURI = jar:file:/Users/martin/.m2/repository/org/jogamp/jogl/jogl-all/2.4.0/jogl-all-2.4.0.jar!/jogamp/opengl/Debug.class jarBasename = jogl-all-2.4.0.jar os.and.arch = macosx-universal nativeJarBasename = jogl-all-2.4.0-natives-macosx-universal.jar ) JNILibLoaderBase: addNativeJarLibsImpl: initial: file:/Users/martin/.m2/repository/org/jogamp/jogl/jogl-all/2.4.0/jogl-all-2.4.0.jar -> file:/Users/martin/.m2/repository/org/jogamp/jogl/jogl-all/2.4.0/ JNILibLoaderBase: addNativeJarLibsImpl: nativeLibraryPath: natives/macosx-universal/ JNILibLoaderBase: addNativeJarLibsImpl: module: jogl-all-2.4.0-natives-macosx-universal.jar -> jar:file:/Users/martin/.m2/repository/org/jogamp/jogl/jogl-all/2.4.0/jogl-all-2.4.0-natives-macosx-universal.jar!/ JNILibLoaderBase: addNativeJarLibsImpl.X: jogl-all-2.4.0.jar / jogl-all-2.4.0-natives-macosx-universal.jar -> ok: true; duration: now 0 ms, total 19 ms (count 3, avrg 6,333 ms) JNILibLoaderBase: addNativeJarLibs0: done: jogl-all-2.4.0 getJarUri Default jar:file:/Users/martin/.m2/repository/org/jogamp/jogl/jogl-all/2.4.0/jogl-all-2.4.0.jar!/jogamp/newt/Debug.class -> jar:file:/Users/martin/.m2/repository/org/jogamp/jogl/jogl-all/2.4.0/jogl-all-2.4.0.jar!/jogamp/newt/Debug.class getJarUri res: jogamp.newt.Debug -> jar:file:/Users/martin/.m2/repository/org/jogamp/jogl/jogl-all/2.4.0/jogl-all-2.4.0.jar!/jogamp/newt/Debug.class -> jar:file:/Users/martin/.m2/repository/org/jogamp/jogl/jogl-all/2.4.0/jogl-all-2.4.0.jar!/jogamp/newt/Debug.class getJarName res: jogl-all-2.4.0.jar JNILibLoaderBase: jarBasename: jogl-all-2.4.0 JNILibLoaderBase: addNativeJarLibsImpl( classFromJavaJar = class jogamp.newt.Debug classJarURI = jar:file:/Users/martin/.m2/repository/org/jogamp/jogl/jogl-all/2.4.0/jogl-all-2.4.0.jar!/jogamp/newt/Debug.class jarBasename = jogl-all-2.4.0.jar os.and.arch = macosx-universal nativeJarBasename = jogl-all-2.4.0-natives-macosx-universal.jar ) JNILibLoaderBase: addNativeJarLibsImpl: initial: file:/Users/martin/.m2/repository/org/jogamp/jogl/jogl-all/2.4.0/jogl-all-2.4.0.jar -> file:/Users/martin/.m2/repository/org/jogamp/jogl/jogl-all/2.4.0/ JNILibLoaderBase: addNativeJarLibsImpl: nativeLibraryPath: natives/macosx-universal/ JNILibLoaderBase: addNativeJarLibsImpl: module: jogl-all-2.4.0-natives-macosx-universal.jar -> jar:file:/Users/martin/.m2/repository/org/jogamp/jogl/jogl-all/2.4.0/jogl-all-2.4.0-natives-macosx-universal.jar!/ JNILibLoaderBase: addNativeJarLibsImpl.X: jogl-all-2.4.0.jar / jogl-all-2.4.0-natives-macosx-universal.jar -> ok: true; duration: now 1 ms, total 20 ms (count 4, avrg 5,000 ms) JNILibLoaderBase: addNativeJarLibs0: done: jogl-all-2.4.0 JNILibLoaderBase: addNativeJarLibsWhenInitialized: count 3, ok true JNILibLoaderBase: loadLibraryInternal(nativewindow_awt), TempJarCache: /var/folders/36/6s_6y6b902s1lwb0gdfyq6100000gn/T/jogamp_0000/file_cache/jln5321577959137417060/jln7442560202243158469/natives/macosx-universal/libnativewindow_awt.dylib JNILibLoaderBase: System.load(/var/folders/36/6s_6y6b902s1lwb0gdfyq6100000gn/T/jogamp_0000/file_cache/jln5321577959137417060/jln7442560202243158469/natives/macosx-universal/libnativewindow_awt.dylib) - mode 2 JNILibLoaderBase: loadLibraryInternal(nativewindow_awt): OK - mode 2 JNILibLoaderBase: Loaded Native Library: nativewindow_awt JNILibLoaderBase: loaded nativewindow_awt JNILibLoaderBase: loadLibraryInternal(nativewindow_macosx), TempJarCache: /var/folders/36/6s_6y6b902s1lwb0gdfyq6100000gn/T/jogamp_0000/file_cache/jln5321577959137417060/jln7442560202243158469/natives/macosx-universal/libnativewindow_macosx.dylib JNILibLoaderBase: System.load(/var/folders/36/6s_6y6b902s1lwb0gdfyq6100000gn/T/jogamp_0000/file_cache/jln5321577959137417060/jln7442560202243158469/natives/macosx-universal/libnativewindow_macosx.dylib) - mode 2 JNILibLoaderBase: loadLibraryInternal(nativewindow_macosx): OK - mode 2 JNILibLoaderBase: Loaded Native Library: nativewindow_macosx JNILibLoaderBase: loaded nativewindow_macosx JNILibLoaderBase: loadLibraryInternal(jogl_desktop), TempJarCache: /var/folders/36/6s_6y6b902s1lwb0gdfyq6100000gn/T/jogamp_0000/file_cache/jln5321577959137417060/jln7442560202243158469/natives/macosx-universal/libjogl_desktop.dylib JNILibLoaderBase: System.load(/var/folders/36/6s_6y6b902s1lwb0gdfyq6100000gn/T/jogamp_0000/file_cache/jln5321577959137417060/jln7442560202243158469/natives/macosx-universal/libjogl_desktop.dylib) - mode 2 JNILibLoaderBase: loadLibraryInternal(jogl_desktop): OK - mode 2 JNILibLoaderBase: Loaded Native Library: jogl_desktop JNILibLoaderBase: loaded jogl_desktop JNILibLoaderBase: loadLibraryInternal(jogl_mobile), TempJarCache: /var/folders/36/6s_6y6b902s1lwb0gdfyq6100000gn/T/jogamp_0000/file_cache/jln5321577959137417060/jln7442560202243158469/natives/macosx-universal/libjogl_mobile.dylib JNILibLoaderBase: System.load(/var/folders/36/6s_6y6b902s1lwb0gdfyq6100000gn/T/jogamp_0000/file_cache/jln5321577959137417060/jln7442560202243158469/natives/macosx-universal/libjogl_mobile.dylib) - mode 2 JNILibLoaderBase: loadLibraryInternal(jogl_mobile): OK - mode 2 JNILibLoaderBase: Loaded Native Library: jogl_mobile JNILibLoaderBase: loaded jogl_mobile dyld: lazy symbol binding failed: Symbol not found: _objc_alloc_init Referenced from: /private/var/folders/36/6s_6y6b902s1lwb0gdfyq6100000gn/T/jogamp_0000/file_cache/jln5321577959137417060/jln7442560202243158469/natives/macosx-universal/libnativewindow_macosx.dylib Expected in: /usr/lib/libobjc.A.dylib dyld: Symbol not found: _objc_alloc_init Referenced from: /private/var/folders/36/6s_6y6b902s1lwb0gdfyq6100000gn/T/jogamp_0000/file_cache/jln5321577959137417060/jln7442560202243158469/natives/macosx-universal/libnativewindow_macosx.dylib Expected in: /usr/lib/libobjc.A.dylib |
Administrator
|
Thank you for the feedback. I assume that this bug is reproducible with a more recent version of Java, isn't it? In the worst case, disabling the automated native library loading is still possible (use the library path in this case).
Julien Gouesse | Personal blog | Website
|
This happens with JDK8 but I haven't tried other versions.
I don't know how to disable the automated native lib loading. I think there are extra debug options to enable outputs showing more clearly what happens, hope I can find them :) Cheers Martin |
Administrator
|
It's explained in the JOGL user's guide:
https://jogamp.org/jogl/doc/userguide/#traditionallibraryloading It's less easy to use but it has a more predictable behavior.
Julien Gouesse | Personal blog | Website
|
Administrator
|
In reply to this post by gouessej
It simply seems that libnativewindow_macosx.dylib is not binary compatible with your MacOS version 10.12 :-(
As you confirmed: It works on macOS 10.15 & 11, working on x86 and M1. So the missing symbol in question for MacOS 10.12 is _objc_alloc_init and probably related to the Objective-C lambda code. I.e. Manu's thread regarding incompatibility .. Need to add this to the list ... |
Free forum by Nabble | Edit this page |