Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
wiki:terraview5_build [2013/12/18 16:05] andre.oliveira created |
wiki:terraview5_build [2014/08/18 11:26] (current) marisa |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== TerraView 5.0.0-alpha Build and Install ===== | + | ===== TerraView 5.0.0-alpha - Build and Install ===== |
==== Building TerraView ==== | ==== Building TerraView ==== | ||
- | TerraView is included in Terralib as one of it's modules, therefore, it is necessary to either build or install the terralib library prior to building TerraView. | + | TerraView is included in TerraLib as one of its modules, therefore, it is necessary to build the terralib library before building TerraView. |
- | General information regarding the compilation proccess of the terralib library are detailed here: [[wiki:terralib5_build|TerraLib Build and Install]] | + | General information regarding the compilation process of the terralib library are detailed at [[wiki:terralib5_build|TerraLib Build and Install]] |
+ | |||
+ | Also, make sure your compiling environment is prepared by following the instructions at [[wiki:terralib5_environment|Working Environment]] | ||
- | This section will highlight the steps required to build TerraView. Note that, for the most part, the process is remarkably similar to building the Terralib library. | ||
==== Cmake ==== | ==== Cmake ==== | ||
=== Using the CMake Graphic Interface (cmake-gui) to build the compilation projects === | === Using the CMake Graphic Interface (cmake-gui) to build the compilation projects === | ||
- | |||
Follow the steps detailed at [[wiki:terralib5_build#cmake|TerraLib - Cmake]] | Follow the steps detailed at [[wiki:terralib5_build#cmake|TerraLib - Cmake]] | ||
- | The only difference worth mentioning is that, like most modules, terraView is optional, so in order to be sure it will be compiled select it's option on the cmake interface as follows: | + | The only difference worth mentioning is that, like most modules, terraView is optional, so in order to be sure it will be compiled, set TERRALIB_TERRAVIEW_ENABLED on cmake interface at TERRALIB group. |
- | + | ||
- | {{:wiki:build-terraview.png|}} | + | |
=== Using the CMake command line to build the compilation projects === | === Using the CMake command line to build the compilation projects === | ||
- | |||
Follow the steps detailed at [[wiki:terralib5_build#cmake|TerraLib - Cmake]] | Follow the steps detailed at [[wiki:terralib5_build#cmake|TerraLib - Cmake]] | ||
- | The only difference worth mentioning is that, like most modules, terraView is optional, so in order to be sure it will be compiled specify it's variable as true: | + | The only difference worth mentioning is that, like most modules, terraView is optional, so in order to be sure it will be compiled specify its variable as true. |
- | cmake -G 'Visual Studio 10' C:\Dev\Terralib\build -DTE_DEPENDENCIES_DIR=C:/Libs/terralib_3rdparty_win32 -DBUILD_TERRAVIEW=True | + | == Example == |
+ | cmake -G 'Visual Studio 10' C:\Terralib\codebase\build -DTERRALIB_TERRAVIEW_ENABLED=True |