This is an old revision of the document!
Warning: Declaration of syntax_plugin_iframe::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /var/www/html/terralib5/wiki/lib/plugins/iframe/syntax.php on line 18
Warning: Declaration of syntax_plugin_iframe::render($mode, &$R, $data) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /var/www/html/terralib5/wiki/lib/plugins/iframe/syntax.php on line 18
Warning: Declaration of syntax_plugin_externallink::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /var/www/html/terralib5/wiki/lib/plugins/externallink/syntax.php on line 107
Warning: Declaration of syntax_plugin_externallink::render($mode, &$renderer, $data) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /var/www/html/terralib5/wiki/lib/plugins/externallink/syntax.php on line 107
Table of Contents
TerraLib and TerraView - Working Environment
Tools
The basic tools you have to install in your environment to work with TerraLib and TerraView are:
Software | Version | Website |
---|---|---|
Git | Latest | http://git-scm.com/ |
CMake | 2.8.12 | http://www.cmake.org/cmake |
The following tools are optional, and their use is described below:
Software | Website | Function |
---|---|---|
TortoiseGIT | http://code.google.com/p/tortoisegit | General User Interface that makes it easier to use GIT on Windows |
Git-Cola | http://git-cola.github.io/downloads.html | General User Interface that makes it easier to use GIT on Unix platforms |
Doxygen | http://sourceforge.net/projects/doxygen/ | used to generate the documentation |
Installing and configuring GIT
Install the latest Git version from: GIT
Follow the default settings, except at:
- Select Components: click Windows Explorer Integration, Git Bash, Git GUI.
- Adjusting you PATH environment: Click third option (Run Git and included Unix Tools …)
- Configuring the line ending conversions: click the first option (Checkout Windows-style, commit Unix-style line endings)
Dependencies
The TerraLib library is split into several modules providing different functionality, therefore, each have a particular set of dependencies.
Microsoft Visual Studio 2013 C++ users can download and unpack the suitable third-party libraries compiled for building 64-bit version of TerraLib with Qt5.4.1 support. Choose the right version specified by x.y.z at terralib-x.y.z-3rdparty-msvc-2013-win64:
or directly from the links below:
Alternativily,
The third party dependencies must be uncompressed in a local directory, for example C:\TL5\
. After that all dependencies will be at C:\TL5\terralib5-3rdparty-msvc-2013-win64
. This location should be part of CMAKE_PREFIX_PATH (CMake tool) when configuring your environment1).
MacOS and Linux users can check the dependencies document.
Once the environment is ready you can clone terralib source code and build the library. Alternatively, you can download the source code from a zip file .
terraview
project, Properties→Configuration Properties→Debugging, set the Environment as PATH=C:\TL5\terralib5-3rdparty-msvc-2013-win64\lib;C:\Qt\Qt5.4.1\5.4\msvc2013_opengl\bin