Hi Martin,

I had same problem. After a number of ditches, it's found that 'include/osgViewer/ViewerEventHandlers' and 'src/osgViewer/ ViewerEventHandlers.cpp' were not added in 'OpenSceneGraph.xcodeproj' file. I also had to add 'Carbon.framework' and 'AGL.framework' into 'External Frameworks and Libraries' section.

After adding these files, you need to modify 'osgViewer' target below. Just simply drag the added header file into 'Copy Headers' section and the source file into 'Compile Sources' section. Don't forget dragging those two frameworks into 'Link Binary With Libraries' section as well.

In this way, I had a success with 1.9.6, but 1.9.7 seems to bear another issue. It throws out an error while compiling osgGLUTkeyboardmouse and osgGLUTsimple, but the thing is that there are no source files for them:( Just remove them from 'Examples' target.

I'm not sure if there's more caveats on Xcode build since my iBook is still working hard on compiling it.

Kyungdahm Yun
_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to