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
geodma_2:build_inst [2018/10/03 18:49]
raian [External Dependencies]
geodma_2:build_inst [2018/11/20 10:49] (current)
raian [Building GeoDMA]
Line 27: Line 27:
 ===== Windows Environment (ref. 10 x64) ===== ===== Windows Environment (ref. 10 x64) =====
  
-==== CMake 3.X (ref. 3.8.2) ====+==== CMake 3.11.X (ref. 3.12.3) ====
  
 Download CMake setup file and install it, adding the cmake command to the PATH environment variable (installer alread has an option to set up this option). Download CMake setup file and install it, adding the cmake command to the PATH environment variable (installer alread has an option to set up this option).
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 ​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.+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 ​15 2017 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 ===
Line 201: Line 201:
  
 ==== C5.0 Decision Trees Library ==== ==== C5.0 Decision Trees Library ====
 +
 +Clone //C5.0 Decision Trees Library// from the following GitHub repository: ​
 +
 +  https://​github.com/​rvmaretto/​c50_decisionTrees
 +  ​
 +To build the library, open the CMake GUI, put in //Where is the source code// field the path to the folder //​c50_decisionTree/​build/​cmake//​. Create a directory to build the binaries. We recomend to create the folder //​c50_decisionTree/​built//,​ and put its path in the field //Where to build the binaries//.
 +
 +Click //​Configure//​.
 +
 +In the pop up window, select “//Visual Studio 15 2017 Win64//”. After the project has finished to configure, click //​Generate//​. A Visual studio solution called c50_decisionTree.sln will be generated in the binaries folder. Now, just open it and build.
  
  
Line 219: Line 229:
  
 ^ Dependency ​  ​^ ​ Variable ​    ^ Description ​                             ^ Default value             ^ ^ Dependency ​  ​^ ​ Variable ​    ^ Description ​                             ^ Default value             ^
-| TerraLib ​    | terralib_DIR ​ | Folder containing cmake configuration file for TerraLib ​ | C:/Program Files/​terralib5.2.|+| TerraLib ​    | terralib_DIR ​ | Folder containing cmake configuration file for TerraLib ​ | C:/Program Files/​terralib5.4.|
 | TerraLib ​    | terralib_DEPENDENCIES_DIR | Root folder of TerraLib 3rdparty package | ${GEODMA_ROOT_DIR}/​../​dependencies/​terralib5-3rdparty-msvc-2013-win64 | | TerraLib ​    | terralib_DEPENDENCIES_DIR | Root folder of TerraLib 3rdparty package | ${GEODMA_ROOT_DIR}/​../​dependencies/​terralib5-3rdparty-msvc-2013-win64 |
 | TerraLib ​    | terralib_ROOT | Root folder of TeraLib ​               | No default value, automatically searched by CMake | | TerraLib ​    | terralib_ROOT | Root folder of TeraLib ​               | No default value, automatically searched by CMake |
Line 228: Line 238:
 Click //​Configure//​. 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 geodma.sln will be generated in the binaries folder. Now, just open it and build.+In the pop up window, select “//Visual Studio ​15 2017 Win64//”. After the project has finished to configure, click //Generate//. A Visual studio solution called geodma.sln will be generated in the binaries folder. Now, just open it and build.
  
 ===== Linux Environment (ref. ....) ===== ===== Linux Environment (ref. ....) =====

Navigation