Building FlightGear: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
(7 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Caution|
{{FGCquote
  |I made a commit to SimGear that fixes compilation with current OSG sources. Unfortunately, FlightGear doesn't actually work with this OSG due to a bug in the mesh optimizer. If you want to use current OSG, check the osg-submissions mailing list for my fix.
  |{{cite web |url=http://sourceforge.net/p/flightgear/mailman/message/33913629/
    |title=<nowiki>[Flightgear-devel] OSG 3.3.8 heads up</nowiki>
    |author=<nowiki>Tim Moore</nowiki>
    |date=<nowiki>2015-04-19</nowiki>
  }}
}}
}}
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.
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 [http://www.gitorious.org/fg Gitorious.org]).
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 [http://sourceforge.net/projects/flightgear http://sourceforge.net]).
 
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:
 
{{cquote|<nowiki>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.</nowiki><ref>{{cite web |url=http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg40191.html|title=TerraSync libSVN replacement testing|author=James Turner|date=Tue, 11 Jun 2013 08:58:20 -0700}}</ref>|James Turner}}
 
{{cquote|<nowiki>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)</nowiki><ref>{{cite web |url=http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg40775.html|title=<nowiki>[Flightgear-devel] Built-in Svn client code crashing</nowiki>|author=<nowiki>James Turner</nowiki>|date=<nowiki>Fri, 20 Sep 2013 09:54:38 -0700</nowiki>}}</ref>|<nowiki>James Turner</nowiki>}}
 
<references/>


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).
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).
Line 28: Line 18:


'''Building FlightGear''' may refer to:
'''Building FlightGear''' may refer to:
* [[Superbuild|Using CMake Superbuilds]]
* [[Superbuild on Windows|Using CMake Superbuild - Windows]]
* [[Building using CMake]]
* [[Building using CMake]]
* [[Building using CMake - Windows]]
* [[Building using CMake - Windows]]
* [[Building FlightGear - Linux]]
* [[Scripted Compilation on Linux Debian/Ubuntu|Building using Linux bash script]]  
* [[Scripted Compilation on Linux Debian/Ubuntu|Building using Linux bash script]]  
'''Old pages''' :
'''Old pages''' :
* [[Building FlightGear - Linux]]
* [http://macflightgear.sourceforge.net/home/documents/how-to-build-flightgear-cvs-on-mac-os-x/ Building FlightGear - Mac OS X]
* [http://macflightgear.sourceforge.net/home/documents/how-to-build-flightgear-cvs-on-mac-os-x/ Building FlightGear - Mac OS X]
* [[Updating FlightGear on Windows]] - get a recently updated version without compiling
* [[Updating FlightGear on Windows]] - get a recently updated version without compiling


{{Building}}
{{Building}}

Revision as of 15:02, 20 April 2015

Caution
Cquote1.png I made a commit to SimGear that fixes compilation with current OSG sources. Unfortunately, FlightGear doesn't actually work with this OSG due to a bug in the mesh optimizer. If you want to use current OSG, check the osg-submissions mailing list for my fix.
— Tim Moore (2015-04-19). [Flightgear-devel] OSG 3.3.8 heads up.
(powered by Instant-Cquotes)
Cquote2.png

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 http://sourceforge.net).

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 :