422
edits
m (changed to use cmake on simgear) |
(moved distro specific info to the distro page, moved distro links to the top to be more visible.) |
||
Line 9: | Line 9: | ||
Or if you develop on Ubuntu or Debian, consider trying the script described in [[Scripted Compilation on Linux Debian/Ubuntu]]. | Or if you develop on Ubuntu or Debian, consider trying the script described in [[Scripted Compilation on Linux Debian/Ubuntu]]. | ||
== Distro-specific instructions == | |||
=== Debian/Ubuntu === | |||
* You can use the [[Scripted Compilation on Linux Debian/Ubuntu]] script to have Flightgear compiled in one shot under both Ubuntu and Debian systems. | |||
* Debian users who prefer to build it without script may look at [[Building Flightgear - Debian]]. | |||
=== Gentoo === | |||
* Gentoo users can also use overlays to build FlightGear without much hassle: [[Building Flightgear - Gentoo]]. | |||
== Requirements == | == Requirements == | ||
Line 50: | Line 57: | ||
** SimGear | ** SimGear | ||
*** [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 | **** 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 deprecated, please only use --enable-osgviewer during configuration instead]) | ||
*** [[OpenSceneGraph]] (check link for compatible versions) | *** [[OpenSceneGraph]] (check link for compatible versions) | ||
*** 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(?)): | ||
Line 74: | Line 81: | ||
5. SimGear - Simulation support libraries. If you are building FlightGear from Git, you need the Git version of SimGear. If you have strange build errors, one of the first things to check is that you have an up-to-date version of SimGear built and installed. | 5. SimGear - Simulation support libraries. If you are building FlightGear from Git, you need the Git version of SimGear. If you have strange build errors, one of the first things to check is that you have an up-to-date version of SimGear built and installed. | ||
== Compiling == | == Compiling == | ||
Line 198: | Line 165: | ||
mv fgdata /usr/local/share/flightgear | mv fgdata /usr/local/share/flightgear | ||
== External links == | == External links == |
edits