271
edits
Line 73: | Line 73: | ||
9. Finally and before proceed with the compilation of '''terragear-cs''', we must satisfy some additional libraries: | 9. Finally and before proceed with the compilation of '''terragear-cs''', we must satisfy some additional libraries: | ||
* sudo apt-get install libwxgtk2.8-dev libcurl4-openssl-dev | * sudo apt-get install libwxgtk2.8-dev libcurl4-openssl-dev | ||
* Your system ask you to reboot. So reboot. | |||
* '''Option''': If you want to use '''gdal/OGR-support''' in terragear-cs: | * '''Option''': If you want to use '''gdal/OGR-support''' in terragear-cs: | ||
sudo apt-get install libgdal-dev | sudo apt-get install libgdal-dev | ||
Line 78: | Line 80: | ||
Go to terragear-cs folder: /src/Utils/ and remove "-logdi" in Makefile (Line 118) | Go to terragear-cs folder: /src/Utils/ and remove "-logdi" in Makefile (Line 118) | ||
After that, inside of the directory: | After that, inside of the directory terragear-cs: | ||
* ./autogen.sh | * ./autogen.sh | ||
* ./configure | * ./configure | ||
* Option: With gdal/OGR support type ./configure --with-gdal=/usr/bin/gdal-config | * Option: With gdal/OGR support type ./configure --with-gdal=/usr/bin/gdal-config | ||
* Point to directory terragear-cs/src/Prep/Terra and open "greedy.cc" | |||
* change line "include <iostream>" to "include <cstdio>" (Line 3) | |||
* make | * make | ||
* sudo make install | * sudo make install | ||
10. | 10. Then - maybe you are ready to use '''terragear'''. | ||
==Optional steps== | ==Optional steps== |
edits