Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
geodma_2:build_inst [2018/10/03 16:39] raian [Qt5.X (ref. 5.4.2)] |
geodma_2:build_inst [2018/10/03 16:43] raian [TerraLib 5.4.X (ref. release-5.4)] |
||
---|---|---|---|
Line 62: | Line 62: | ||
C:/Qt/Qt5.10.1/5.10.1/msvc2017_64/lib/cmake/Qt5LinguistTools | C:/Qt/Qt5.10.1/5.10.1/msvc2017_64/lib/cmake/Qt5LinguistTools | ||
- | ==== TerraLib 5.X (ref. release-5.2) ==== | + | ==== TerraLib 5.4.X (ref. release-5.4) ==== |
Clone TerraLib from git. In order to do that, you need to first disable the "SSL certificate validation" in your git client. If you are using SourceTree, go to //SourceTree// >> //Preferences// >> //Git// and then check //Disable SSL certificate validation (note: potentially insecure)// to allow downloading TerraLib. Then, clone it from the following Git repository: | Clone TerraLib from git. In order to do that, you need to first disable the "SSL certificate validation" in your git client. If you are using SourceTree, go to //SourceTree// >> //Preferences// >> //Git// and then check //Disable SSL certificate validation (note: potentially insecure)// to allow downloading TerraLib. Then, clone it from the following Git repository: | ||
Line 68: | Line 68: | ||
https://gitlab.dpi.inpe.br/terralib/terralib.git | https://gitlab.dpi.inpe.br/terralib/terralib.git | ||
- | After cloning the repository, set the current branch to the //release-5.2//, which is the currently used by GeoDMA. Further instructions for clonning TerraLib repository, if needed, can be found [[http://www.dpi.inpe.br/terralib5/wiki/doku.php?id=wiki:documentation:devguide:cloning|here]]. | + | After cloning the repository, set the current branch to the //release-5.4//, which is the currently used by GeoDMA. Further instructions for clonning TerraLib repository, if needed, can be found [[http://www.dpi.inpe.br/terralib5/wiki/doku.php?id=wiki:documentation:devguide:cloning|here]]. |
TerraLib has several external dependencies. For windows, a package with all of them is provided, already compiled with //Ms Visual Studio 2013//. This package can be downloaded through the following URL: | TerraLib has several external dependencies. For windows, a package with all of them is provided, already compiled with //Ms Visual Studio 2013//. This package can be downloaded through the following URL: | ||
- | http://www.dpi.inpe.br/terralib5-devel/3rdparty/bin/ | + | http://www.dpi.inpe.br/terralib5-devel/3rdparty/bin/5.4/ |
Instructions to compile these dependencies in MS Windows, if needed, can be found [[http://www.dpi.inpe.br/terralib5/wiki/doku.php?id=wiki:documentation:devguide:dependencies|here]]. | Instructions to compile these dependencies in MS Windows, if needed, can be found [[http://www.dpi.inpe.br/terralib5/wiki/doku.php?id=wiki:documentation:devguide:dependencies|here]]. | ||
Line 84: | Line 84: | ||
Detailed instructions to build TerraLib can be found [[http://www.dpi.inpe.br/terralib5/wiki/doku.php?id=wiki:documentation:devguide:build|here]] | Detailed instructions to build TerraLib can be found [[http://www.dpi.inpe.br/terralib5/wiki/doku.php?id=wiki:documentation:devguide:build|here]] | ||
- | To build TerraLib, open the CMake GUI, put in //Where is the source code// field the path to the folder //terralib/build/cmake//. Create a directory to build the binaries. We recomend to create the folder //terralib/built//, and put its path in the field //Where to build the binaries//. Then click //Configure//. In the pop up window, select "//Visual Studio 12 2013 Win64//". After the project has finished to configure, click //Generate//. A Visual studio solution called //terralib.sln// will be generated in the binaries folder. Now, just open it and build. | + | To build TerraLib, open the CMake GUI, put in //Where is the source code// field the path to the folder //terralib/build/cmake//. Create a directory to build the binaries. We recomend to create the folder //terralib/built//, and put its path in the field //Where to build the binaries//. Then click //Configure//. In the pop up window, select "//Visual Studio 14 2014 Win64//". After the project has finished to configure, click //Generate//. A Visual studio solution called //terralib.sln// will be generated in the binaries folder. Now, just open it and build. |
=== Tips and Tricks === | === Tips and Tricks === |