Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G

Changes

Jump to: navigation, search

FlightGear Git on Mac OS X

36 bytes added, 21:04, 12 January 2013
Download and install OpenSceneGraph trunk
For compiling with imageio/'''cocoa''', target architecture '''i386 AND x86_64''':
cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_OSX_SYSROOT='''/Developer/SDKs/MacOSX10.5.sdk ''' -DCMAKE_OSX_ARCHITECTURES="i386;x86_64" \ -DCMAKE_OSX_DEPLOYMENT_TARGET='''10.5 ''' -DCMAKE_MINSIZEREL_POSTFIX= -DBUILD_OSG_APPLICATIONS=OFF \
-DCMAKE_RELWITHDEBINFO_POSTFIX= -DOSG_DEFAULT_IMAGE_PLUGIN_FOR_OSX=imageio \
-DOSG_WINDOWING_SYSTEM=Cocoa -Wno-dev
Alternate for compiling with imageio/'''carbon''', target architecture '''i386/32-bit only''':
cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_OSX_SYSROOT='''/Developer/SDKs/MacOSX10.5.sdk ''' -DCMAKE_OSX_ARCHITECTURES="i386;x86_64" \ -DCMAKE_OSX_DEPLOYMENT_TARGET='''10.5 ''' -DCMAKE_MINSIZEREL_POSTFIX= -DBUILD_OSG_APPLICATIONS=OFF \
-DCMAKE_RELWITHDEBINFO_POSTFIX= -DOSG_DEFAULT_IMAGE_PLUGIN_FOR_OSX=imageio \
-DOSG_WINDOWING_SYSTEM=Carbon -Wno-dev
'''Remarks:''' Compiling OpenSceneGraph often takes more than 30 minutes.
You need to alter the '''10.5 ''' above to your SDK version.
Also the path to the /Developer directory has changed since xcode 4.2 to be in the /Application/Xcode.app/Contents directory.
115
edits

Navigation menu