Hi, ios-support is still in its early stages (expecially the cmake-support). If you are building for the device, try to remove "-mmacosx-version-min=10.x" from your CMAKE_CXX_FLAGS inside of CMake.
If that doesn't work, clear the CMAKE_OSX_DEPLOYMENT_TARGET-var and try rebuilding. (There's still a bug in cmake regarding the -mmacosx-version-min-issue) The cmake-script for osgiphoneviewer is still buggy/unfinished and does not work out of the box, you'll have to tweak the settings from inside xcode. I am currently preparing a small xcode-project as a simple starter-kit. HTH, Stephan Am 29.12.10 18:36, schrieb Alessandro Terenzi: > I'm trying to build OSG 2.9.10 (I've just downloaded the current zip from > the website) but I cannot manage to compile osgViewerIPhone and its > dependencies. Maybe I'm doing something wrong with cmake...what settings > have to be modified in order to be able to build OSG for iOS? > > Or perhaps the zip I've downloaded is not updated and building for iOS > doesn't work? > > For instance I'm getting several errors like this one: > > OpenSceneGraph-2.9.10/src/OpenThreads/pthreads/PThread.c++:1: error: > -mmacosx-version-min not allowed with -miphoneos-version-min _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org