|
|
Line 26: |
Line 26: |
|
| |
|
| == Dependencies == | | == Dependencies == |
| FlightGear is dependent on quite a few number of libraries. You do not need to compile all of them yourself, but you will at least need to have their development version installed. For example, the development version for package plib1.8.5 is plib1.8.5'''-dev'''. | | FlightGear is dependent on quite a few number of libraries. You do not need to compile all of them yourself, but you will at least need to have their development version installed. |
|
| |
|
| The dependency is summarized in the following tree. Please note that each library has its own dependencies, and most of these are not shown here.
| |
|
| |
| * FlightGear
| |
| ** [http://openal.org OpenAL and ALUT]
| |
| ** SimGear
| |
| *** [http://plib.sourceforge.net/ PLIB] (until version 0.9.10 release sources, PRE_OSG_PLIB_20061029 CVS branch). 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 in CVS/HEAD, please only use --enable-osgviewer during configuration instead])
| |
| *** [[ OpenSceneGraph ]] (svn trunk)
| |
| **** libfreetype6-dev
| |
| **** libjpeg62-dev
| |
| **** libungif4-dev
| |
| **** libtiff4-dev
| |
| **** libpng12-dev
| |
| **** libxmu-dev
| |
| **** libxi-dev
| |
|
| |
| If you attack the above dependencies in the order listed below, you should be good:
| |
|
| |
|
| 1. Glut. Most distributions include glut packages, although you may have to hunt for them. Make sure you install both the glut and glut-devel packages, otherwise FlightGear may be able to compile but won't run correctly. | | 1. Glut. Most distributions include glut packages, although you may have to hunt for them. Make sure you install both the glut and glut-devel packages, otherwise FlightGear may be able to compile but won't run correctly. |