88
edits
(gitorious -> SF) |
m (Add CentOS) |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Main article|Building Flightgear}} | {{Main article|Building Flightgear}} | ||
{{WIP}} | |||
This section describes how to build [[FlightGear]] on Linux system. | This section describes how to build [[FlightGear]] on Linux system. | ||
Line 20: | Line 22: | ||
=== Gentoo === | === Gentoo === | ||
* Gentoo users can also use overlays to build FlightGear without much hassle: [[Building Flightgear - Gentoo]]. | * Gentoo users can also use overlays to build FlightGear without much hassle: [[Building Flightgear - Gentoo]]. | ||
=== CentOS === | |||
CentOS users can follow these instructions to build FlightGear on [[Building Flightgear - CentOS | CentOS 8]]. | |||
== Requirements == | == Requirements == | ||
{{Note|as of 12/2017, people may have to build using at least OSG 3.4 due to some compilation issues -for details, refer to [[Howto:Building FlightGear without HiDPI support]]}} | |||
Edit 12/9/15 - These instructions are out of date! Do not use for compiling. | |||
Before you can compile FlightGear, you need to have the following installed on your computer: | Before you can compile FlightGear, you need to have the following installed on your computer: | ||
Line 102: | Line 110: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
$ git clone git://git.code.sf.net/p/flightgear/simgear | $ git clone git://git.code.sf.net/p/flightgear/simgear simgear | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 108: | Line 116: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
$ git clone http://git.code.sf.net/p/flightgear/simgear | $ git clone http://git.code.sf.net/p/flightgear/simgear simgear | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 124: | Line 132: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
'''Note''' that if you don't want to install <tt>simgear</tt> globally on the system but in a specific directory, you can do so by adding <code>-DCMAKE_INSTALL_PREFIX | '''Note''' that if you don't want to install <tt>simgear</tt> globally on the system but in a specific directory, you can do so by adding <code>-DCMAKE_INSTALL_PREFIX=/path/to/your/fgInstallation</code> to the <code>cmake</code> command | ||
'''Step 3:''' | '''Step 3:''' | ||
Line 146: | Line 154: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
$ git clone git:// | $ git clone git://git.code.sf.net/p/flightgear/flightgear | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 187: | Line 195: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
$ git clone git:// | $ git clone git://git.code.sf.net/p/flightgear/fgdata | ||
</syntaxhighlight> | </syntaxhighlight> | ||
edits