On 1/25/2012 4:22 PM, Tom Two wrote:
When I try to compile this code, I get ten thousand errors. What did I do 
wrong? What am I missing?

Here is what I did after I've created the xcode project with cmake:

1. Right click OpenSceneGraph ->  Add ->  New Target ->  shell tool ->...finish
2. Right click myproject ->  Add ->  New file ->  C++
3. Write above code in C++ file
4. Set active target to myproject
5. build and debug

You should probably add your application to the CMake system and regenerate the xcode files, rather than adding it to the xcode project files that CMake generates.

Or create a separate xcode project for your app, rather than add it to the OSG project (which makes more sense in the long run).
   -Paul





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

Reply via email to