Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
wiki:terralib50_build [2015/06/09 10:29] marisa |
wiki:terralib50_build [2015/09/08 14:58] (current) marisa |
||
---|---|---|---|
Line 62: | Line 62: | ||
-------------------------- | -------------------------- | ||
- | a) We will assume that the TerraLib source tree (git clone) is located at: | + | a) We will assume that the TerraLib source tree ([[http://www.dpi.inpe.br/terralib5/wiki/doku.php?id=wiki:terralib50_download|git clone]]) is located at: |
C:\terralib\codebase | C:\terralib\codebase | ||
- | b) We will assume that the third party libraries for Visual Studio 2013, obtained from | + | b) We will assume that the suitable third party libraries, obtained from |
- | http://www.dpi.inpe.br/terralib5/terralib5-3rdparty/terralib5.0.0-3rdparty-msvc-2013-win64.zip | + | http://www.dpi.inpe.br/terralib5/terralib5-3rdparty/terralib5.x.x-3rdparty-msvc-2013-win64.zip |
- | (or terralib5.0.0-3rdparty-msvc-2013-win32.zip) | + | (or terralib5.x.x-3rdparty-msvc-2013-win32.zip) where 5.x.x is the terralib release |
are located at: | are located at: | ||
Line 75: | Line 75: | ||
c) Create a folder out of the TerraLib source tree to build the binaries, for example: | c) Create a folder out of the TerraLib source tree to build the binaries, for example: | ||
C:\terralib\build-win64 | C:\terralib\build-win64 | ||
- | (or C:\terralib\build-win64) | + | (or C:\terralib\build-win32) |
d) Open CMake-GUI in order to generate a build project for Microsoft Visual C++ 2013 (64-bit or 32-bit). | d) Open CMake-GUI in order to generate a build project for Microsoft Visual C++ 2013 (64-bit or 32-bit). | ||
Line 90: | Line 90: | ||
* Qt CMake => look for the Qt dir containing ''Qt5Config.cmake'' | * Qt CMake => look for the Qt dir containing ''Qt5Config.cmake'' | ||
- | Example for win64: Press ''AddEntry'' button and inform the name ''CMAKE_PREFIX_PATH'', type ''PATH'' and set its value as: | + | Example for win64: Press ''AddEntry'' button and inform the name ''CMAKE_PREFIX_PATH'', type ''PATH'' and set its value as (do not press the bottom "..." to add the two paths, because the second will overwrite the first): |
- | CMAKE_PREFIX_PATH => C:/terralib5-3rdparty-msvc-2013-win64;C:/Qt/Qt5.4.1/5.4/msvc2013_64/lib/cmake/Qt5 | + | CMAKE_PREFIX_PATH => C:/terralib/terralib5-3rdparty-msvc-2013-win64;C:/Qt/Qt5.4.1/5.4/msvc2013_64/lib/cmake/Qt5 |
Example for win32: Press ''AddEntry'' button and inform the name ''CMAKE_PREFIX_PATH'', type ''PATH'' and set its value as: | Example for win32: Press ''AddEntry'' button and inform the name ''CMAKE_PREFIX_PATH'', type ''PATH'' and set its value as: | ||
- | CMAKE_PREFIX_PATH => C:/Program Files (x86)/Microsoft SDKs/Windows/v7.0A;C:/terralib/terralib5-3rdparty-msvc-2013-win32;C:/Qt/Qt5.3.0/5.3/msvc2010_opengl/lib/cmake/Qt5 - not maintained. | + | CMAKE_PREFIX_PATH => C:/terralib/terralib5-3rdparty-msvc-2013-win32;C:/Qt/Qt5.3.0/5.3/msvc2010_opengl/lib/cmake/Qt5 |
- | + | ||
- | Note that for 32 bits it is necessary to include the path for Microsoft SDK => look for the dir containing include/glu.h) | + | |
h) Then press "''Configure''" and choose: | h) Then press "''Configure''" and choose: |