Hi,

I had a everything working using GCC 4.2.1 from XCode 4.3 but  due to issues 
with GDAL I've had to "upgrade" to GCC 4.3 from MacPort. So I have:

/opt/local/bin/gcc -> /opt/local/bin/gcc-mp-4.3

which is found by default with CMake. 

I'm getting issues when building the Cocoa code:


Code:

[ 21%] Building CXX object 
src/osgViewer/CMakeFiles/osgViewer.dir/GraphicsWindowCocoa.mm.o
In file included from 
/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:5,
from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:10,
from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12,
from 
/Volumes/MVEData/Users/Mike/Developer/OSG/src/osgViewer/GraphicsWindowCocoa.mm:18:
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:140: error: 
stray '@' in program





Any ideas on how to fix this? Or anybody know if I can safely build the rest 
with GCC 4.3 and OSG with the llvm-gcc 4.2 that comes with XCode?




Thank you!

Cheers,
Mike
Code:




------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=48687#48687





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to