Hi Glenn, what version of cmake are you using?
If you want 64bit-builds on OS X you'll need some minor adjustments via cmake: /usr/bin/cmake -G Xcode \ -D OSG_BUILD_FRAMEWORKS:BOOL=1 \ -D OSG_WINDOWING_SYSTEM:STRING=Cocoa \ -D OSG_BUILD_PLATFORM_IPHONE:BOOL=0 \ -D CMAKE_OSX_ARCHITECTURES:STRING=x86_64 \ -D OSG_DEFAULT_IMAGE_PLUGIN_FOR_OSX:STRING=imageio \ -D CMAKE_OSX_SYSROOT:STRING=/Developer/SDKs/MacOSX10.6.sdk . then you should be able to compile osg via xcode or on the commandline via xcodebuild. you can omit the OSG_BUILD_FRAMEWORKS if you are not interested in them and want unix-style dylibs. You can adjust the settings also via the cmake gui. Am 29.06.11 09:13, schrieb Glenn McCord: > I'm totally confused by the cmake command I'm supposed to be using. From > various threads I've seen on the forums, I get the impression I need: > >> cmake BUILD_OSG_APPLICATIONS=ON BUILD_OSG_EXAMPLES=ON >> CMAKE_OS_ARCHITECTURES=x86_64 OSG_DEFAULT_IMAGE_PLUGIN_FOR_OSX=imageio -D >> OSG_WINDOWING_SYSTEM=Cocoa > > But I get "/ ...path... / OSG_WINDOWING_SYSTEM:STRING=Cocoa" does not exist. > > I guess I'm ultimately a bit confused on what osg can and can't do (as of the > current code base) in regards to 64bit/32bit. Plus it seems I'm not even > using cmake correctly (ouch) Your syntax is wrong, if you want to pass variables to cmake, you should do it via -D BUILD_OSG_APPLICATIONS:BOOL=1 (etc). cheers, Stephan _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

