Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
wiki:documentation:devguide:build [2020/10/22 23:45] marisa [Building on Linux Ubuntu 18.04 with GNU G++] |
wiki:documentation:devguide:build [2020/12/21 10:44] (current) castejon [Building on Microsoft Windows with Microsoft Visual C++ 2017] |
||
---|---|---|---|
Line 12: | Line 12: | ||
* Microsoft Windows 10 | * Microsoft Windows 10 | ||
- | You should use at least CMake version 3.11 for building TerraLib. Older versions than this may not work properly. | + | You should use at least CMake version 3.18.1 for building TerraLib. Older versions than this may not work properly. |
Follow the build steps below according to your platform. | Follow the build steps below according to your platform. | ||
Line 91: | Line 91: | ||
* Press ''Open Project'' to open Visual Studio 2017 | * Press ''Open Project'' to open Visual Studio 2017 | ||
- | **5.** Inside Visual Studio right click over the project ALL_BUILD and build. Before running, set it as ''StartUp'' Project and set the local environment of terraview project ((terraview->Properties->Configuration Properties-> Debugging, set the Environment entry as ''PATH=c:\terralib5\3rdparty\lib;c:\<Qt5 path>\bin'')). | + | **5.** Inside Visual Studio choose "Release" as "Solution config" and select "x64" as platform. Right click over the project ALL_BUILD and build. Before running, set it as ''StartUp'' Project and set the local environment of terraview project ((terraview->Properties->Configuration Properties-> Debugging, set the Environment entry as ''PATH=c:\terralib5\3rdparty\lib;c:\<Qt5 path>\bin'')). |
**6.** If TERRALIB_BUILD_EXAMPLES_ENABLED => ON or TERRALIB_BUILD_EXAMPLES_ENABLED => ON: to run and debug one of the terralib_example_* or terralib_unitest_*, set it as ''StartUp'' Project and make sure the data ([[http://www.dpi.inpe.br/terralib5-devel/data/data.zip| data.zip]]) used by these examples/unittest are uncompressed at the default directory specified by TERRALIB_DATA_DIR : | **6.** If TERRALIB_BUILD_EXAMPLES_ENABLED => ON or TERRALIB_BUILD_EXAMPLES_ENABLED => ON: to run and debug one of the terralib_example_* or terralib_unitest_*, set it as ''StartUp'' Project and make sure the data ([[http://www.dpi.inpe.br/terralib5-devel/data/data.zip| data.zip]]) used by these examples/unittest are uncompressed at the default directory specified by TERRALIB_DATA_DIR : |