Fr/FlightGear Git sur Mac OS X: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 71: Line 71:




Checkout OpenSceneGraph trunk with
vérifiez l'arbre OpenSceneGraph avec
  git clone https://github.com/openscenegraph/osg.git OpenSceneGraph
  git clone https://github.com/openscenegraph/osg.git OpenSceneGraph


Make a copy of the "OpenSceneGraph" folder you get, maybe you need a fresh clone again when it fails.
Faites une copie du dossier "OpenSceneGraph", peut-être aurez-vous besoin d'un clone au cas ou il ferait défaut.


  cd OpenSceneGraph
  cd OpenSceneGraph


For compiling with imageio/'''cocoa''', target architecture '''i386 AND x86_64''':
Pour compiler avec imageio/'''cocoa''', target architecture '''i386 AND x86_64''':
  cmake  -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release \
  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_SYSROOT=/Developer/SDKs/MacOSX10.5.sdk -DCMAKE_OSX_ARCHITECTURES="i386;x86_64" \
Line 85: Line 85:
  -DOSG_WINDOWING_SYSTEM=Cocoa
  -DOSG_WINDOWING_SYSTEM=Cocoa


Alternate for compiling with imageio/'''carbon''', target architecture '''i386/32-bit only''':
Alternez pour compiler avec imageio/'''carbon''', target architecture '''i386/32-bit seulement''':
  cmake  -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release \
  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_SYSROOT=/Developer/SDKs/MacOSX10.5.sdk -DCMAKE_OSX_ARCHITECTURES="i386;x86_64" \
Line 92: Line 92:
  -DOSG_WINDOWING_SYSTEM=Carbon
  -DOSG_WINDOWING_SYSTEM=Carbon


Finally:
Enfin:
make
faire
  sudo make install
  sudo make install
   
   
  '''Remark:''' Compiling OpenSceneGraph often takes more than 30 minutes.
  '''Remarque:''' Compiler OpenSceneGraph prend souvent plus de  30 minutes.


=== Git SimGear/FlightGear/fgdata ===
=== Git SimGear/FlightGear/fgdata ===
Create a directory where you want to place your new FlightGear code.
Créez un répertoire dans lequel vous voulez placer votre nouveau code FlightGear.
  git clone git://gitorious.org/fg/flightgear.git
  git clone git://gitorious.org/fg/flightgear.git
  git clone git://gitorious.org/fg/simgear.git
  git clone git://gitorious.org/fg/simgear.git
  git clone git://mapserver.flightgear.org/fgdata/  
  git clone git://mapserver.flightgear.org/fgdata/  
  '''or''' git clone git://gitorious.org/fg/fgdata.git
  '''ou''' git clone git://gitorious.org/fg/fgdata.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/.
Le fgdata fait environ 4 GB! Vous pouvez cloner ce repo une fois et plus tard vous utilisez ''git pull''. Il y a une autre page [[FlightGear and Git]] concernant les repos FlightGear Gitorious GIT. Il y a aussi un autre GIT repo sur mapserver.flightgear.org: http://mapserver.flightgear.org/git/.


=== Installez SimGear (!nouveau depuis nov 2011: cmake build) ===
=== Installez SimGear (!nouveau depuis nov 2011: cmake build) ===
88

edits

Navigation menu