271
edits
mNo edit summary |
|||
Line 71: | Line 71: | ||
* 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. | * Your system ask you to reboot. So reboot. | ||
After that, inside of the directory terragear-cs: | After that, inside of the directory terragear-cs: | ||
* ./autogen.sh | * ./autogen.sh | ||
* ./configure | * ./configure (see also option below) | ||
* Option: With gdal/OGR support run "./configure --with-gdal=/usr/bin/gdal-config" | * '''Option: With gdal/OGR support''' | ||
* sudo apt-get install libgdal-dev | |||
* run "./configure --with-gdal=/usr/bin/gdal-config" | |||
Go to terragear-cs folder: /src/Prep/OGRDecode and remove "-logdi" in Makefile (Line 102) | |||
Go to terragear-cs folder: /src/Utils/ and remove "-logdi" in Makefile (Line 118) | |||
* '''Not a option''' at the moment: Point to directory terragear-cs/src/Prep/Terra and open "greedy.cc" | * '''Not a option''' at the moment: Point to directory terragear-cs/src/Prep/Terra and open "greedy.cc" | ||
* change line "include <iostream>" to "include <cstdio>" (Line 3) | * change line "include <iostream>" to "include <cstdio>" (Line 3) | ||
Finally: | |||
* make | * make | ||
* sudo make install | * sudo make install | ||
==Optional steps== | ==Optional steps== |
edits