Scripted Compilation on Linux Debian/Ubuntu: Difference between revisions

m
de-emphasized conversion of directory structure
No edit summary
m (de-emphasized conversion of directory structure)
Line 7: Line 7:
Please also see [[Superbuild]].
Please also see [[Superbuild]].


=== Update Available - Conversion step is built in ===
=== Update Available ===


[[user:F-JJTH|F-JJTH]] has published version 2.33 of the script.  
[[user:F-JJTH|F-JJTH]] has published version 2.33 of the script.  
Line 27: Line 27:
  cd ../next
  cd ../next
  ../download_and_compile.sh -p n
  ../download_and_compile.sh -p n
=== Conversion of directory structure from earlier versions of download_and_compile.sh ===
Earlier versions of the script used a different directory structure.  If you used the earlier version, the newscript includes a section that will convert the earlier structure to the current set of directories. 


=== Disk Space Requirements ===
=== Disk Space Requirements ===
Line 60: Line 64:
There is also another option for building FlightGear and all its dependencies in an automated fashion, please refer to: http://geoffmclane.com/fg/fgfs-052.htm
There is also another option for building FlightGear and all its dependencies in an automated fashion, please refer to: http://geoffmclane.com/fg/fgfs-052.htm


== Known Pitfalls ==
FlightGear versions <= 3.0 are known to have a cmake build system issue related to NOT automatically reconfiguring the SG/FG sources after updating the version files in in $SG_SRC and $FG_SRC, which basically means that using "git pull" to update your source trees (via the d&c script) will create the latest binaries, but they may not be looking for the right base package data, because the source trees are still using the old version files found in the cmake cache. This has been encountered by various contributors, including at least one core developer.
To work around this issue, simply switch to your SG/FG build directories and reconfigure each tree by running "cmake ." - for further info, see [http://forum.flightgear.org/viewtopic.php?f=22&t=20304#p186647][http://forum.flightgear.org/viewtopic.php?f=22&p=187413#p186942].


This should probably be removed.  Stable is 3.0.


== Instructions ==
== Instructions ==
936

edits