Re: Leopard: Profile GL_DEFAULT is not available on null, but: []
Posted by
Sven Gothel on
Jan 09, 2012; 12:43pm
URL: https://forum.jogamp.org/Leopard-Profile-GL-DEFAULT-is-not-available-on-null-but-tp3587916p3644424.html
On Monday, January 09, 2012 01:27:53 PM andrade [via jogamp] wrote:
>
> Ok, here are both log files generated on a OSX 10.5.8 64 bits using jogl
> 2.0-RC5
>
>
http://forum.jogamp.org/file/n3644402/test_dbg.log test_dbg.log
>
http://forum.jogamp.org/file/n3644402/test.log test.log
>
Thank you _very_ much.
The test_dbg.log is very helpful, it discloses:
Platform: MACOS / Mac OS X 10.5.8 (os), x86_64 (arch) 8 cores
JNILibLoaderBase: loadLibraryInternal(jogl_desktop) -> System.load(/var/folders/M-/M-UM2LvcEsq7dXFOVhs1Y++++TQ/-Tmp-/jogamp.tmp.cache_000000/jln5570934016882868646/jln8821705993954885166/libjogl_desktop.jnilib) (TempJarCache)
java.lang.UnsatisfiedLinkError: /private/var/folders/M-/M-UM2LvcEsq7dXFOVhs1Y++++TQ/-Tmp-/jogamp.tmp.cache_000000/jln5570934016882868646/jln8821705993954885166/libjogl_desktop.jnilib: Symbol not found: _OBJC_CLASS_$_NSOpenGLLayer Referenced from: /private/var/folders/M-/M-UM2LvcEsq7dXFOVhs1Y++++TQ/-Tmp-/jogamp.tmp.cache_000000/jln5570934016882868646/jln8821705993954885166/libjogl_desktop.jnilib Expected in: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
This is pre 10.6 related only!
Looks like we need to drop the NSOpenGLLayer code into another DLL
loaded on >= 10.6 only - or relax dynamic library loading in a way,
that no symbols are being resolved at load time, but at usage only.
The latter would be preferred. If anybody knows how to do that on OSX/gcc
it would help alot.
(Maybe the same way as it is done under Linux ?)
~Sven