789
edits
(Started updating to Git.) |
(And done.) |
||
Line 1: | Line 1: | ||
{{Main article|Building Flightgear}} | {{Main article|Building Flightgear}} | ||
Line 50: | Line 48: | ||
*** [http://plib.sourceforge.net/ PLIB]. Since march 2008, you will need version 1.8.5 - your distro probably supplies 1.8.4 still. | *** [http://plib.sourceforge.net/ PLIB]. Since march 2008, you will need version 1.8.5 - your distro probably supplies 1.8.4 still. | ||
**** For versions pre march/2008: (Free)GLUT or SDL (We recommend the use of SDL over Free/GLUT, [http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg16153.html however since march 2008, FreeGLUT as well as SDL are both considered depreciated, please only use --enable-osgviewer during configuration instead]) | **** For versions pre march/2008: (Free)GLUT or SDL (We recommend the use of SDL over Free/GLUT, [http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg16153.html however since march 2008, FreeGLUT as well as SDL are both considered depreciated, please only use --enable-osgviewer during configuration instead]) | ||
*** [[ OpenSceneGraph ]] (svn trunk for FlightGear/ | *** [[ OpenSceneGraph ]] (The latest development release or svn trunk for FlightGear/Git and the latest preceding OSG release for a FlightGear release) | ||
*** You also need the development files for several basic libraries to build the software, among them the following (the package names are for Debian and derivatives(?)): | *** You also need the development files for several basic libraries to build the software, among them the following (the package names are for Debian and derivatives(?)): | ||
**** libfreetype6-dev | **** libfreetype6-dev | ||
Line 97: | Line 95: | ||
----------- | ----------- | ||
<pre> | <pre> | ||
sudo apt-get install | sudo apt-get install git subversion build-essential cmake libpng-dev libfreetype6-dev | ||
libjpeg-dev libungif4-dev libtiff-dev libxmu-dev libxi-dev libglut3-dev libalut-dev | libjpeg-dev libungif4-dev libtiff-dev libxmu-dev libxi-dev libglut3-dev libalut-dev | ||
libboost-dev automake autoconf libfltk1.1-dev | libboost-dev automake autoconf libfltk1.1-dev | ||
Line 110: | Line 108: | ||
cd /usr/local/src | cd /usr/local/src | ||
<b>Note:</b> When tracking a fast changing software like FlightGear/ | <b>Note:</b> When tracking a fast changing software like FlightGear/Git it is highly advisable to install it in a separate directory. That way one can also easily build and reinstall without being root, which greatly reduces the risk of messing up one's system. | ||
To install in a directory of your choice add the <tt>--prefix</tt> argument to configure. E.g. <tt>./configure --prefix=$HOME/FlightGear</tt>. I would recommend installing all of OSG, plib, SimGear and FlightGear with the same prefix. | To install in a directory of your choice add the <tt>--prefix</tt> argument to configure. E.g. <tt>./configure --prefix=$HOME/FlightGear</tt>. I would recommend installing all of OSG, plib, SimGear and FlightGear with the same prefix. | ||
Line 173: | Line 171: | ||
'''Step 4:''' | '''Step 4:''' | ||
Clone the data directory: | |||
git clone git://gitorious.org/fg/fgdata.git | |||
The data directory is large (almost 2.5GB) so it will take considerable time to download. | |||
There mirror of fgdata that might be faster to download from: | |||
git clone git://mapserver.flightgear.org/fgdata | |||
The mirror is synchronized with the master so either will do. | |||
And install it in (or as) /usr/local/share/FlightGear | And install it in (or as) /usr/local/share/FlightGear | ||
mv | mv fgdata /usr/local/share/FlightGear | ||
== Ubuntu and Debian users == | == Ubuntu and Debian users == | ||
Line 192: | Line 196: | ||
* [http://www.geoffmclane.com/fg/fgmsvc7.htm MSVC7 *.Net] | * [http://www.geoffmclane.com/fg/fgmsvc7.htm MSVC7 *.Net] | ||
* [http://www.oflebbe.de/oflebbe/FlightGear/index.html MSVC8 aka Visual 2005] | * [http://www.oflebbe.de/oflebbe/FlightGear/index.html MSVC8 aka Visual 2005] | ||
* [http://macflightgear.sourceforge.net/home/documents/ Mac OS X | * [http://macflightgear.sourceforge.net/home/documents/ Mac OS X] | ||
{{Building}} | {{Building}} |
edits