Hi
On 16 Jul 2012, at 22:00, Manuel Fern??ndez wrote:
Keywords @required and @optional are part of Objective C 2.0. So you should try
with at least gcc 4.6. Hope it helps.
gcc 4.7.1 from macports does not build OSG (from trunk) either:
In file included from
/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:120:0,
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/NSTask.h:75:24: error:
expected unqualified-id before '^' token
/System/Library/Frameworks/Foundation.framework/Headers/NSTask.h:75:24: error:
expected ')' before '^' token
Does not support blocks it seems (that's on Lion).
Mike
----
Mike Krus (PhD) - Principal Software Engineer
Midland Valley Exploration
144 West George Street
Glasgow G2 2HG, UK
Tel: +44 141 332 2681
Fax: +44 141 332 6792
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org