no edit summary
To run it, just save it in a directory called for example: ~/fg_tools
then execute it (no need to execute it as root).
Here is for example a sequence of commands to get the script and launch it in a new folder.
Atlas provides a map for
flightgear, use it launching: ''run_atlas.sh''
Your Flightgear compilation comes with the
terrasync program too, so if you want to use it:
===Obtaining the script===
The script is hosted by my home server, if electricity goes down or internet connection
failes, you will be not able to download it directly.
Solution: Ask on the irc channel for the download_and_compile.sh script, the community will provide it for you.
Here we are, no fear, if you wish to use programs from the cvs/svn repositories, you
will face anytime compilation errors that will prevent you to have a working copy of one or more of the programs provided by this script. What can be the causes that prevent us from a successful compiling? As far as I know this:
# Software developers introduce a new functionality with a new piece of code that prevents the compilation under your architecture, this can happen working with cvs/svn sources.
# The program refuses to compile because of a divergence in the libraries it depends. For example
can happen the Flightgear does not compile because OSG has been modified, while OSG itself compiles fine, FG won't.
# One or more repositories are down and you can't get the library you need. (Both from cvs/svn or apt-get)
There is a simple solution to the above errors: wait and relaunch the script after some time (hours or days), if (end generally happens) software developers repair or synchronize their code with the newly updated libraries, your
flightgear will compile fine as if the previous error never took place.
Sometimes it happens that the script fails to compile only fgrun,fgcom or atlas, if you then see the run_fgfs.sh file it means that Flightgear installation was successful and you can safely run it.
The script by default (without any option) will only compile Flightgear and Fgrun.
to make it compile all you need to launch the script with the ''ALL'' parameter. i.e.:
sh download_and_compile.sh ALL
===Compiling only one program===
If you wish to recompile only one of the programs you can launch the script with the following parameters:
* PLIB (to compile and install only plib)
* OSG (to compile and install only OpenSceneGraph)