Hi, Am 16.05.11 13:17, schrieb Büsra Gülten: > I have both Xcode 4.0.2 and 3.2.6. But I am trying to build OSG in Xcode > 3.2.5 with iPhoneSimulator4.3.sdk. Because Xcode 4.0.2 shows me other errors > like "curl.h: No such file or directory", although the libraries are setting > right.
> Please advise. Any help is appreciated. As mentioned in the Readme, the current Cmake-configuration can't create valid build-configurations for the example-apps and I think this is the error you get. Just deselect BUILD_OSG_APPLICATIONS in cMake and rebuild. This should get you a set of static-libs and plugins. Then you can create a new xcode-project, reference the xcode headers and libs and start testing. The cMake-path for IOS is rough and error-prone, as there are some bugs in cMake and inabilities, (like creating a xcode-project usable for simulator AND device), this prevents a smooth user-experience. I am still maintaining the hand-crafted xcode-project on https://github.com/stmh/osg (use the iphone-branch), it can build libs for device and simulator has a simple working example, and you can include it into your own xcode-projects as sub-project. It doesn't build all plugins though, only obj, ive, osg and imageio. cheers, Stephan _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

