4,400
edits
mNo edit summary |
m (Robot: Cosmetic changes) |
||
Line 1: | Line 1: | ||
This tutorial describes installing a '''recent subversion''' of[[ TerraGear]] on Ubuntu910, terragear'''-cs'''. Do NOT try to install TerraGear [[CVS]] or an older version of TerraGear with this tutorial. | This tutorial describes installing a '''recent subversion''' of [[TerraGear]] on Ubuntu910, terragear'''-cs'''. Do NOT try to install TerraGear [[CVS]] or an older version of TerraGear with this tutorial. | ||
''Note: This tutorial also works for OSX 10.5.8 (intel) and VBox 3.1.2r56127 but does not describe how to install VBox/Ubuntu on your mac.'' | ''Note: This tutorial also works for OSX 10.5.8 (intel) and VBox 3.1.2r56127 but does not describe how to install VBox/Ubuntu on your mac.'' | ||
==Basic Install== | == Basic Install == | ||
1. '''Start with a clean new installation of Ubuntu 910'''. Do not update the system after installation with Package Manager or other "Automatic Update Tools". Skip all updates (important!). | 1. '''Start with a clean new installation of Ubuntu 910'''. Do not update the system after installation with Package Manager or other "Automatic Update Tools". Skip all updates (important!). | ||
Line 27: | Line 27: | ||
* sudo apt-get install libopenal-dev libalut-dev openscenegraph zlib1g-dev libopenscenegraph-dev | * sudo apt-get install libopenal-dev libalut-dev openscenegraph zlib1g-dev libopenscenegraph-dev | ||
7. Goto to the directory '''simgear-cs''' to start the compilation. | 7. Goto to the directory '''simgear-cs''' to start the compilation. Remember that when we download source code with a cvs software as git or svn we need to | ||
generate the configure file: | generate the configure file: | ||
* ./autogen.sh | * ./autogen.sh | ||
Line 35: | Line 35: | ||
* sudo make install | * sudo make install | ||
8. To follow, we must satisfy 2 more dependencies: '''gpc''' and '''newmat'''. | 8. To follow, we must satisfy 2 more dependencies: '''gpc''' and '''newmat'''. Unpackage those files and inside each directory: | ||
a) GPC: | a) GPC: | ||
- Copy and paste the next lines and create a new empty file with the name "Makefile" | - Copy and paste the next lines and create a new empty file with the name "Makefile" | ||
Line 84: | Line 84: | ||
* chmod -R 777 /usr/local/share/TerraGear/usgsmap.txt | * chmod -R 777 /usr/local/share/TerraGear/usgsmap.txt | ||
==Optional steps== | == Optional steps == | ||
10. If we wish use the '''photo''' command and insert images inside our scenery, we need the chop.pl command: | 10. If we wish use the '''photo''' command and insert images inside our scenery, we need the chop.pl command: |