Building TerraGear in Ubuntu 910 (32- or 64-bit): Difference between revisions

Jump to navigation Jump to search
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.
        * '''Option''': If you want to use '''gdal/OGR-support''' in terragear-cs:
          sudo apt-get install libgdal-dev
          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)


     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
10. Then - maybe you are ready to use '''terragear'''.


==Optional steps==
==Optional steps==
271

edits

Navigation menu