fyi jogl build errors on macosx snow leopard
Posted by chris oliver on Jan 17, 2012; 10:59pm
URL: https://forum.jogamp.org/fyi-jogl-build-errors-on-macosx-snow-leopard-tp3667732.html
OSXmisc.m:435: error: cannot find protocol declaration for ‘JAWT_SurfaceLayers’
gcc seems to be:
i686-apple-darwin10-gcc-4.2.1
I added this hack to work around it:
[JNFRunLoop performOnMainThreadWaiting:YES withBlock:^(){
/*id <JAWT_SurfaceLayers> surfaceLayers = (id <JAWT_SurfaceLayers>)dsi->platfor\
mInfo;
DBG_PRINT("CALayer::attachJAWTSurfaceLayer: %p -> %p\n", surfaceLayers.layer, l\
ayer);
surfaceLayers.layer = [layer autorelease];*/
}];
The build completed and jogl seems to work as expected.
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.