TerraLib and TerraView Wiki Page

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
wiki:documentation:devguide:dependencies [2018/08/23 17:35]
marisa [TerraLib Developer's Guide - Third Party Dependencies]
wiki:documentation:devguide:dependencies [2018/09/17 10:02]
marisa
Line 6: Line 6:
  
 Below we show the list of third-party libraries dependencies and its versions((if you want to build the 3rd-party dependencies for TerraLib from source, first take a look at the section //​**[[:​wiki:​documentation:​devguide:​dependencies#​automatic_build_of_third-party_dependencies_with_bash_scripts|Automatic Build of Third-party Dependencies with Shell Scripts]]**//​ and read the right tip for automatically building the dependencies in your platform.)):​ Below we show the list of third-party libraries dependencies and its versions((if you want to build the 3rd-party dependencies for TerraLib from source, first take a look at the section //​**[[:​wiki:​documentation:​devguide:​dependencies#​automatic_build_of_third-party_dependencies_with_bash_scripts|Automatic Build of Third-party Dependencies with Shell Scripts]]**//​ and read the right tip for automatically building the dependencies in your platform.)):​
-  * **CMake** (Mandatory):​ The TerraLib build system relies on CMake. Please, download and install [[https://​cmake.org/​download|CMake version ​2.8.12]] (preferable version 3.X).+  * **CMake** (Mandatory):​ The TerraLib build system relies on CMake. Please, download and install [[https://​cmake.org/​download|CMake version ​3.11]].
  
-  * **Boost** (Mandatory):​ TerraLib is built on top of Boost libraries. You will need to have them installed in order to build TerraLib. Make sure to have at least version 1.54.0 installed. If you prefer to install from source, download it from: [[http://​www.boost.org]].+  * **Boost** (Mandatory):​ TerraLib is built on top of Boost libraries. You will need to have them installed in order to build TerraLib. Make sure to have at least version 1.58.0 installed. If you prefer to install from source, download it from: [[http://​www.boost.org]].
  
   * **GEOS** (Mandatory):​ GEOS is available from [[http://​trac.osgeo.org/​geos]]. Make sure to have at least version 3.4.2 installed.   * **GEOS** (Mandatory):​ GEOS is available from [[http://​trac.osgeo.org/​geos]]. Make sure to have at least version 3.4.2 installed.
Line 14: Line 14:
   * **Proj4** (Mandatory):​ Proj4 is available from [[http://​trac.osgeo.org/​proj]]. Make sure to have at least version 4.8.0 installed.   * **Proj4** (Mandatory):​ Proj4 is available from [[http://​trac.osgeo.org/​proj]]. Make sure to have at least version 4.8.0 installed.
  
-  * **Qt** (Optional): Make sure you have an installed Qt version 5.4.1 or 5.10.1 or later. Linux users may use any package manager to perform an easy installation. Mac OS X can use package managers such as [[http://​brew.sh|Homebrew]] or [[http://​www.macports.org|MacPorts]] in order to have an easy installation. If you prefer to install from source, download it from: [[http://​qt-project.org/​downloads]].+  * **Qt** (Optional): Make sure you have an installed Qt version 5.10.1 (before is was used Qt 5.4.1 and Visual 2013). Linux users may use any package manager to perform an easy installation. Mac OS X can use package managers such as [[http://​brew.sh|Homebrew]] or [[http://​www.macports.org|MacPorts]] in order to have an easy installation. If you prefer to install from source, download it from: [[http://​qt-project.org/​downloads]].
  
   * **QtPropertyBrowser** (Optional if Qt is not used): QtPropertyBrowser is a free and open source Qt component. We have been using a especial port of QtPropertyBrowser that you can find inside of our [[http://​www.dpi.inpe.br/​terralib5-devel/​3rdparty/​src/​ | third-party packages]] sources.\\ You can extract the qtpropertybrowser.tar.gz files using:   * **QtPropertyBrowser** (Optional if Qt is not used): QtPropertyBrowser is a free and open source Qt component. We have been using a especial port of QtPropertyBrowser that you can find inside of our [[http://​www.dpi.inpe.br/​terralib5-devel/​3rdparty/​src/​ | third-party packages]] sources.\\ You can extract the qtpropertybrowser.tar.gz files using:
Line 32: Line 32:
   * **Qwt** (Optional if Qt is not used): Qwt is available from [[http://​qwt.sourceforge.net]]. Make sure to have at least version 6.1.0 installed.   * **Qwt** (Optional if Qt is not used): Qwt is available from [[http://​qwt.sourceforge.net]]. Make sure to have at least version 6.1.0 installed.
  
-  * **GDAL** (Optional): GDAL is available from [[http://​www.gdal.org]]. Make sure to have at least version 2.0.installed.+  * **GDAL** (Optional): GDAL is available from [[http://​www.gdal.org]]. Make sure to have at least version 2.1.installed.
  
-  * **PostgreSQL libpq** (Optional): libpq is available with PostgreSQL source from [[http://​www.postgresql.org]]. Make sure to have at least libpq for PostgreSQL version 9.1.installed.+  * **PostgreSQL libpq** (Optional): libpq is available with PostgreSQL source from [[http://​www.postgresql.org]]. Make sure to have at least libpq for PostgreSQL version 9.4.installed.
  
   * **Microsoft ADO .Net** (Optional): This is available only for Microsoft Windows and it is installed in general under a folder such as:   * **Microsoft ADO .Net** (Optional): This is available only for Microsoft Windows and it is installed in general under a folder such as:
Line 42: Line 42:
 </​code>​ </​code>​
  
-  * **Xerces-c** (Optional): Apache Xerces-C++ is available from [[http://​xerces.apache.org/​xerces-c]]. Make sure to have at least version 3.1.installed.+  * **Xerces-c** (Optional): Apache Xerces-C++ is available from [[http://​xerces.apache.org/​xerces-c]]. Make sure to have at least version 3.1.installed.
  
   * **Apache log4cxx** (Optional): Apache log4cxx is available from [[http://​logging.apache.org/​log4cxx]]. Make sure to have at least version 0.10.0 installed.   * **Apache log4cxx** (Optional): Apache log4cxx is available from [[http://​logging.apache.org/​log4cxx]]. Make sure to have at least version 0.10.0 installed.
Line 52: Line 52:
   * **Google Test and Google Mock** (Optional): Google Test and Google Mock are available from https://​github.com/​google/​googletest. Any recent version may be used.   * **Google Test and Google Mock** (Optional): Google Test and Google Mock are available from https://​github.com/​google/​googletest. Any recent version may be used.
  
-  * **Python** (Optional): Python is available ​form https://​www.python.org/​downloads. Use 3.6.6 version.+  * **Python** (Optional): Python is available ​from https://​www.python.org/​downloads. Use ''​python-3.6.6-amd64.exe''​.
  
 ===== Third party dependencies binaries for Microsoft Visual C++ for Windows ===== ===== Third party dependencies binaries for Microsoft Visual C++ for Windows =====
Line 60: Line 60:
 To work with '​**develop**'​ branch take the zip from the root dir. To work with '​**release-5.y'​** branch go to the correct subdirectory named 5.y and take the zip. To work with '​**develop**'​ branch take the zip from the root dir. To work with '​**release-5.y'​** branch go to the correct subdirectory named 5.y and take the zip.
  
-In that folder you will find all the third-party libraries for building a 64-bit version of Terralib with **Qt 5.4.1** or **Qt5.10.1** support.+In that folder you will find all the third-party libraries for building a 64-bit version of Terralib with **Qt5.10.1** support.
  
-Microsoft Windows users that have downloaded one of the file [[http://​www.dpi.inpe.br/​terralib5-devel/​3rdparty/​bin|3rdparty zip]] must install the same version of Qt used to generate it, i.e., Qt5.4.1 or Qt5.10.1.+Microsoft Windows users that have downloaded one of the file [[http://​www.dpi.inpe.br/​terralib5-devel/​3rdparty/​bin|3rdparty zip]] must install the same version of Qt used to generate it, i.e., Qt5.10.1 (or Qt 5.4.1).
  
-Also, the same lib Python version used must be installed. ​For example, for TerraView-5.4.0,​ lib Python-3.6.6.+Also, the same lib Python version used to generate the zip must be installed ​in your environmentIn this example ​''​python-3.6.6-amd64.exe''​.
  
 ===== Automatic Build of Third-party Dependencies with Shell Scripts (Linux/​MacOS/​Windows)===== ===== Automatic Build of Third-party Dependencies with Shell Scripts (Linux/​MacOS/​Windows)=====
Line 125: Line 125:
 Make sure your Qt and CMake environment can be found in your PATH: Make sure your Qt and CMake environment can be found in your PATH:
 <code bash> <code bash>
 +$ export PATH=$PATH:/​Users/​user/​Qt5.10.1/​5.4/​clang_64/​bin:/​Applications/​CMake.app/​Contents/​bin
 +or
 $ export PATH=$PATH:/​Users/​user/​Qt5.4.1/​5.4/​clang_64/​bin:/​Applications/​CMake.app/​Contents/​bin $ export PATH=$PATH:/​Users/​user/​Qt5.4.1/​5.4/​clang_64/​bin:/​Applications/​CMake.app/​Contents/​bin
 </​code>​ </​code>​