Hi guys, On 27/11/10 5:21 , Robert Osfield wrote: > I moved the IOS/IPhone blocks in the CMakeLists.txt files into the > exisiting IF (APPLE) blocks in a attempt to keep the build on other > platforms clean from any of the extra IOS specific variables and CMake > script. Fingers crossed I haven't broken anything in the process... > > Could you check out svn/trunk and let me know how things go.
I doubt it's related to this change, but I cannot for my life generate a working Xcode project. It's giving me heaps of the following compiler error: /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 -x c++ -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -DCMAKE_INTDIR="Debug" -DOPENTHREADS_EXPORTS -DHAVE_SCHED_YIELD -DHAVE_PTHREAD_SETCONCURRENCY -DHAVE_PTHREAD_GETCONCURRENCY -D__IPHONE_OS_VERSION_MIN_REQUIRED=30200 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0.sdk -mmacosx-version-min=10.5 -gdwarf-2 -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/uli/Projects/osg/OpenSceneGraph/build-iOS/lib -I/Users/uli/Projects/osg/OpenSceneGraph/build-iOS/lib/include -I/Users/uli/Projects/osg/OpenSceneGraph/include -I/Users/uli/Projects/osg/OpenSceneGraph/build-iOS/include -I/Users/uli/Projects/osg/OpenSceneGraph/build-iOS/src/OpenThreads/pthreads/OpenSceneGraph.build/Debug-iphonesimulator/OpenThreads.build/DerivedSources/i386 -I/Users/uli/Projects/osg/OpenSceneGraph/build-iOS/src/OpenThreads/pthreads/OpenSceneGraph.build/Debug-iphonesimulator/OpenThreads.build/DerivedSources -miphoneos-version-min=3.1 -mno-thumb -arch i386 -pipe -no-cpp-precomp -D_DEBUG -c /Users/uli/Projects/osg/OpenSceneGraph/src/OpenThreads/pthreads/PThread.c++ -o /Users/uli/Projects/osg/OpenSceneGraph/build-iOS/src/OpenThreads/pthreads/OpenSceneGraph.build/Debug-iphonesimulator/OpenThreads.build/Objects-normal/i386/PThread.o /Users/uli/Projects/osg/OpenSceneGraph/src/OpenThreads/pthreads/PThread.c++:1: error: -mmacosx-version-min not allowed with -miphoneos-version-min And I cannot for my life make out where I can turn this blasted '-mmacosx-version-min' off... it's nowhere in the CMakeFile, nor in the Xcode project files. The github Xcode project works, but a visual diff of the project settings doesn't reveal any differences... *sigh* Cheers, /ulrich >> * cMake support for creating a xcode-project >> * an updated ReadMe-file describing the necessary steps to get a >> working xcode-project-file from CMake >> >> Please credit Thomas Hogarth and Stephan Huber for these changes. >> >> This brings the ios-support in line with the git-fork on github. It >> needs some more testing and some more love, the cmake-process is still a >> little complicated. >> >> You'll need a special version of the freetype lib compiled for IOS, >> there's one bundled in the OpenFrameworks-distribution, which can be used. _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
