FlightGear Git on Mac OS X: Difference between revisions

Jump to navigation Jump to search
m
Line 102: Line 102:
The fgdata is about 4 GB! You can clone this repo once and later you use ''git pull''. There is other page [[FlightGear and Git]] about using the FlightGear Gitorious GIT Repos. There is also an alternate GIT repo on mapserver.flightgear.org: http://mapserver.flightgear.org/git/.
The fgdata is about 4 GB! You can clone this repo once and later you use ''git pull''. There is other page [[FlightGear and Git]] about using the FlightGear Gitorious GIT Repos. There is also an alternate GIT repo on mapserver.flightgear.org: http://mapserver.flightgear.org/git/.


=== Install SimGear (!new since nov 2011: cmake build) ===
=== Install SimGear ===
cd to the simgear directory and type
cd to the simgear directory and type
   export CFLAGS="-g -O2 -fPIC -arch i386 -arch x86_64"
   mkdir build && cd build
   export CXXFLAGS="-g -O2 -fPIC -arch i386 -arch x86_64"
 
   cmake . -DJPEG_FACTORY=1 -DCMAKE_INSTALL_PREFIX=/usr/local
  cmake -G "Unix Makefiles" ../. \
  make
  -DENABLE_TESTS=1 \
  -DENABLE_RTI=0 \
  -DCMAKE_OSX_ARCHITECTURES="i386" \
   -DCMAKE_OSX_DEPLOYMENT_TARGET=10.5 \
  -DCMAKE_OSX_SYSROOT=/Developer/SDKs/MacOSX10.5.sdk \
   -DJPEG_FACTORY=0 \
  -DCMAKE_INSTALL_PREFIX=/usr/local
 
   sudo make install
   sudo make install


271

edits

Navigation menu