Hi Ulrich, Am 27.11.10 09:14, schrieb Ulrich Hertlein:
> I managed to solve this one. The root CMakeLists.txt added > iphoneos-version-min for both > the device build and the simulator build, but the simulator build doesn't > like it. I think the problem is the addition of the flag -mmacosx-version-min to CMAKE_CXX_FLAGS. When building for IOS, it doesn't make sense, neither for device nor for the simulator. I think this must be some cmake-automatism, as the block in CMakeLists.txt where this flag gets added to CMAKE_CXX_FLAGS is only active when NOT building for IOS. I removed it by hand within the cmake-gui. Perhaps we should add this to the readme. > I've also fixed a couple of compiler warnings in the attached files. thanks! > At the moment the compile looks good but the linker step for > 'osgviewerIPhone' is having a > problem with the libraries/frameworks it's linking. It's attempting to link > Carbon *and* > Cocoa and OpenGL rather than UIKit and OpenGLES. I didn't test the osgviewerIPhone-build via cmake personally, as there are still some missing parts (for example signing the app with the developer-certificate) cheers, Stephan _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
