Building FlightGear: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 28: Line 28:


'''Building FlightGear''' may refer to:
'''Building FlightGear''' may refer to:
* [[Superbuild|Using CMake Superbuilds]]
* [[Building using CMake]]
* [[Building using CMake]]
* [[Building using CMake - Windows]]
* [[Building using CMake - Windows]]

Revision as of 06:17, 23 October 2013

The FlightGear developers generally release a stable packaged version of FlightGear, with an easy install wizard, about once or twice a year. For convenience, most FlightGear users download and install these packages.

However, the source files used to build the whole FlightGear package are continuously being developed by dozens of contributors, who collaborate using the source code management system Git to create a new "unstable" version every few days. If you want to use one of these unstable versions, or tinker with the source files to create your own custom version, the pages below describe how to compile the FlightGear package from the Git source files (repository at Gitorious.org).

SimGear 2.11+ now has experimental support for a libsvn replacement, people building from source are encouraged to help with testing and debugging this new feature:

Cquote1.png First, I need some help; for people to rebuild simgear with -DSG_SVN_CLIENT=1, and mv / erase their TerraSync dir. Then simply run FGFS as normal, as if you were starting on a new machine / account with no previous use of TerraSync.[1]
— James Turner
Cquote2.png
Cquote1.png So, as I've previously asked before, I really need people running from 'next' to try with -DSG_SVN_CLIENT=1 when configuring SimGear, move their existing TerraSync dir out the way, and test, test, test. I'm sure the new code isn't 100% trouble free (in particular I think there is still the occasional time when it gets stuck not doing any more downloads until FG is restarted), but I really don't want to move forwards with the code until I have a bit more assurance it's not going to make everyone's setup crash 80% of the time, which is what some people have reported. Note this applies even if you 'don't use' terrasync since the SVN sync engine is going to be used for other pieces of data as soon as it's stable. (I will be adding a new preference to globally control whether FG works in online/offline mode, of course)[2]
— James Turner
Cquote2.png
  1. James Turner (Tue, 11 Jun 2013 08:58:20 -0700). TerraSync libSVN replacement testing.
  2. James Turner (Fri, 20 Sep 2013 09:54:38 -0700). [Flightgear-devel] Built-in Svn client code crashing.

If you'd like to use an integrated development environment, illustrated instructions for building FlightGear and its dependencies can be found in Howto:Build FlightGear with NetBeans using CMake, this should work on both, Windows and Linux systems (NetBeans being a cross-platform IDE).

Another option to run the latest code without having to compile everything yourself, is using a precompiled binary provided by the FlightGear Build Server which is based on Jenkins.

Building FlightGear may refer to:

Old pages :