271
edits
(→Guide) |
|||
| Line 24: | Line 24: | ||
Download and install MacPorts 1.8.2 | Download and install MacPorts 1.8.2 | ||
Link: [http://www.macports.org/install.php] | Link: [http://www.macports.org/install.php] | ||
Note: When you have MacPorts and don’t want to | Note: When you have MacPorts and don’t want to reinstall, make use of the possibility of possibility of different MacPorts install. With already installed MacPorts it can be a good idea to first decactivate all other ports for this whole guide. More information: http://guide.macports.org/#installing.macports.upgrade. | ||
=== Update MacPorts === | === Update MacPorts === | ||
In terminal type | In terminal type | ||
sudo port selfupdate | |||
sudo port upgrade outdated | |||
When you run into problems with | When you run into problems with synchronizing go here: http://trac.macports.org/wiki/howto/SyncingWithSVN | ||
=== Install ''boost'' with MacPorts === | === Install ''boost'' (1.42.0) with MacPorts === | ||
sudo port install boost | sudo port install boost | ||
Note: this step can take more than 30 minutes! | Note: this step can take more than 30 minutes! Boost is made for drinking more tea. | ||
=== Install ''cmake'' with MacPorts === | === Install ''cmake'' (2.8.1) with MacPorts === | ||
sudo port install cmake | sudo port install cmake | ||
=== Install plib === | === Install '''plib''' (1.8.5) === | ||
sudo port install plib | sudo port install plib | ||
=== Install ALUT.framework === | === Install ALUT.framework === | ||
Download here '''(temporary location!)''': http://files.goneabitbursar.com/fg/alut-osx-universal.zip<BR> | Note: This framework is provided by James T. This is not official! James posted this download link some days ago in the develist and the framework will move to another place very soon. Linking of OpenAL/alut.h and compilation of freealut fails on my OSX 10.5.8 with FlightGear, and there is also no port avaiable at the moment. Big thanks to James for providing this framework. | ||
Download here '''(temporary location!)''': [[http://files.goneabitbursar.com/fg/alut-osx-universal.zip]]<BR> | |||
Unzip and move the ALUT.framework folder to /Library/Frameworks | Unzip and move the ALUT.framework folder to /Library/Frameworks | ||
=== Download and install OpenSceneGraph 2.9.7 === | === Download and install OpenSceneGraph 2.9.7 === | ||
Checkout OpenSceneGraph source with | Checkout OpenSceneGraph source with | ||
svn co http://www.openscenegraph.org/svn/osg/OpenSceneGraph/tags/OpenSceneGraph-2.9.7 OpenSceneGraph<BR> | svn co http://www.openscenegraph.org/svn/osg/OpenSceneGraph/tags/OpenSceneGraph-2.9.7 OpenSceneGraph<BR> | ||
Go to the directory and type in terminal: | Go to the directory and type in terminal: | ||
./configure | ./configure | ||
make | make | ||
sudo make install | sudo make install | ||
=== Git SimGear/FlightGear/fgdata === | === Git SimGear/FlightGear/fgdata === | ||
git clone git://gitorious.org/fg/flightgear.git | Create a directory where you want to place your new FlightGear code. | ||
git clone git://gitorious.org/fg/simgear.git | git clone git://gitorious.org/fg/flightgear.git | ||
git clone git://gitorious.org/fg/fgdata.git | git clone git://gitorious.org/fg/simgear.git | ||
git clone git://gitorious.org/fg/fgdata.git | |||
=== Install SimGear === | === Install SimGear === | ||
cd to the directory and type | |||
./configure | ./autogen.sh | ||
make | ./configure | ||
sudo make install | make | ||
sudo make install | |||
=== Install FlightGear === | === Install FlightGear === | ||
./configure | ./autogen.sh | ||
make | ./configure | ||
sudo make install | make | ||
sudo make install | |||
=== Finished === | === Finished === | ||
edits