FlightGear Git on Mac OS X: Difference between revisions

Jump to navigation Jump to search
no edit summary
(removed edit I made. Does this page conflict with http://wiki.flightgear.org/Building_using_CMake#Mac ??)
No edit summary
Line 97: Line 97:
   
   
  '''Remark:''' Compiling OpenSceneGraph often takes more than 30 minutes.
  '''Remark:''' Compiling OpenSceneGraph often takes more than 30 minutes.
'''Remark:''' You need to alter the 10.5 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.


=== Git SimGear/FlightGear/fgdata ===
=== Git SimGear/FlightGear/fgdata ===
Line 123: Line 124:


As of november 2011 fgadmin and fgpanel won’t compile here on OSX. Set -DENABLE_FGADMIN=OFF -DWITH_FGPANEL=OFF  to ON when you want to give it a try ...
As of november 2011 fgadmin and fgpanel won’t compile here on OSX. Set -DENABLE_FGADMIN=OFF -DWITH_FGPANEL=OFF  to ON when you want to give it a try ...
=== Using Xcode for compilation ===
You can add -G Xcode to above cmake statements to let cmake create the needed xcode project files. Open the created .xcodeproj files and build it using ⌘ + B or choosing the menu Product=>Build. You may need to set the build target "ALL_BUILD>My Mac 64-bit" or what ever your target is and the configuration in the menu Product=>"Edit Scheme" where you can set the build configuration to "Debug" or "Release" under the "Run" tab. Once successfully compiled you need to install the build on the terminal since the standard target location of the files need root privileges. So change directory to your osg, simgear or flightgear git directory containing the .xcodeproj file and execute the command "sudo xcodebuild -target install -configuration Release". The -configuration depends on what you last built usually Release though. Choosing -target uninstall to uninstall all related files.


=== Finish and Testrun ===
=== Finish and Testrun ===
23

edits

Navigation menu