Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision Last revision Both sides next revision | ||
wiki:terraview5_build [2013/12/18 16:05] andre.oliveira created |
wiki:terraview5_build [2014/01/31 11:26] marisa [Cmake] |
||
---|---|---|---|
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 it's modules, therefore, it is necessary to either build the terralib library prior to 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 proccess 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 ==== | ||
Line 16: | Line 17: | ||
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 select it's option on the cmake interface at build group as follows: |
{{:wiki:build-terraview.png|}} | {{:wiki:build-terraview.png|}} | ||
Line 26: | Line 27: | ||
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 it's variable as true. |
+ | == Example == | ||
cmake -G 'Visual Studio 10' C:\Dev\Terralib\build -DTE_DEPENDENCIES_DIR=C:/Libs/terralib_3rdparty_win32 -DBUILD_TERRAVIEW=True | cmake -G 'Visual Studio 10' C:\Dev\Terralib\build -DTE_DEPENDENCIES_DIR=C:/Libs/terralib_3rdparty_win32 -DBUILD_TERRAVIEW=True |