Login  Register

Re: fyi jogl build errors on macosx snow leopard

Posted by Sven Gothel on Jan 18, 2012; 12:32am
URL: https://forum.jogamp.org/fyi-jogl-build-errors-on-macosx-snow-leopard-tp3667732p3667933.html

On Tuesday, January 17, 2012 11:59:03 PM chris oliver [via jogamp] wrote:
>
> OSXmisc.m:435: error: cannot find protocol declaration for
> ‘JAWT_SurfaceLayers’
>
> gcc seems to be:
> i686-apple-darwin10-gcc-4.2.1

Which is funny, since I have build latest JOGL
on my OS X 10.6.8 machine with installed
   - XCode 3.2.5
   - i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664)

I did this while bisecting for bug 548 / bug 533 and just now.

>
> I added this hack to work around it:
>    [JNFRunLoop performOnMainThreadWaiting:YES withBlock:^(){
>         /*id <JAWT_SurfaceLayers> surfaceLayers = (id
> <JAWT_SurfaceLayers>)dsi->platfor\
> mInfo;                                                                                  

The uncommented 'feature' is new to 10.6.8, hence I assume you have not
updated your machine to the latest version.

Please update your software.

Minimum requirements to build JOGL on OS X is now 10.6.8.

Minimum runtime requirement should be 10.5.*

>
> I also see this later in the build:
>
> java.generate.copy2temp:
>  
>   [gluegen] ANTLR Parsing Error: line 393:601378: unexpected token: RECT
> token name:ID
>   [gluegen] line 393:601378: unexpected token: RECT
>
> but the build continues.

Yup, can't remember right now why it exists and why it's ok to being skipped,
but it has no impact.

~Sven