Login  Register

Re: trying to get a working jogl+cg on macosx snow leopard

Posted by Sven Gothel on Dec 03, 2011; 7:12am
URL: https://forum.jogamp.org/trying-to-get-a-working-jogl-cg-on-macosx-snow-leopard-tp3556280p3556659.html

On Saturday, December 03, 2011 02:39:24 AM chris oliver [via jogamp] wrote:
>
> Getting no love from recent binaries http://jogamp.org/deployment/autobuilds.
> The application either hangs or crashes (depending on the machine I run it
> on), here's the stack trace:  

In regards to OpenGL and building JOGL ..

>
> java.lang.InternalError: Null CGLContext for:
> jogamp.opengl.macosx.cgl.MacOSXCGLContext$NSOpenGLImpl@5d61dfb5
> at
>

<snip/>

I have tested the binaries on 10.7 (junit tests, and Applets - all works well)
as well as on 10.6.4 (Applets only, some temporary freezing at start).

Please follow the FAQ 'Bugreports & Testing' thoroughly
  http://jogamp.org/wiki/index.php/Jogl_FAQ#Bugreports_.26_Testing

What would be nice to have is:
  http://jogamp.org/wiki/index.php/Jogl_FAQ#Runtime_Version_Check

and if you could run the version check w/ the debug flags enabled,
that would be of help as well:
  http://jogamp.org/wiki/index.php/Jogl_FAQ#Detailed_Bug_Information

ie: edit the etc/tests.sh script and 'add/enable' the line:
+++
D_ARGS="-Djogamp.debug=all -Dnativewindow.debug=all -Djogl.debug=all -Dnewt.debug=all"
+++

then .. send us the test.log file please.


> Also getting no love from trying to build it myself. nativewindow.xml build
> fails.
>
> c.build.nativewindow.windowlib.macosx:
>      [echo] Output lib name = nativewindow_macosx
>      [echo] c.compiler.use-jawt false
>      [echo] nativewindow_macosx.useLibJAWT ${nativewindow_macosx.useLibJAWT}
>      [echo] Compiling nativewindow_macosx
>        [cc] Starting dependency analysis for 2 files.
>        [cc] 2 files are up to date.
>        [cc] 0 files to be recompiled from dependency analysis.
>        [cc] 0 total files to be compiled.
>        [cc] Starting link
>        [cc] ld: -F must be immediately followed by a directory path (no
> space)
>        [cc] collect2: ld returned 1 exit status
>

<snip/>

We currently build JOGL on latest XCode from OS X 10.7.*
so I assume they are no more compatible, sad.

Maybe you can fix it and send me a pull request ?

Thank you.

~Sven