- TerrainApps (Applications VTBuilder, Enviro, etc.)
- wxWidgets (wxGTK)
ver. 2.8.x
- tiff
ver. 3.5.5
- jpeg
ver. 6b
- zlib
ver. 1.2.3
- TerrainSDK (Libraries vtdata, vtosg, vtui)
- libpng
ver. 1.2.12
- OSG ver. 2.6 (should be at least 2.0)
- OpenGL (glut,GLU,etc.)
ver. 1.2
- libMini ver. 8.9.2 (newer
versions should work)
- GDAL
ver. 1.5.x (must be at least 1.3.2)
- PROJ.4
ver. 4.4.9
- netcdf
ver. 3.5.0 (optional)
- libcurl
ver. 7.15.0 (optional)
| Library | Download | Library Website |
|---|---|---|
| GDAL | gdal-xxx.tar.gz | http://www.gdal.org/ |
| PROJ.4 | proj-xxx.tar.gz | http://trac.osgeo.org/proj/ |
| OSG | OSG downloads | http://www.openscenegraph.org/ |
| wxWidgets | wxGTK-xxx.tar.gz | http://www.wxwidgets.org/ |
| libMini | download page | http://stereofx.org/terrain.html |
| optional libraries: | ||
| netCDF | netcdf-xxx.ZIP | http://www.unidata.ucar.edu/packages/netcdf/ |
| netCDF binaries are also available for download for just about every platform | ||
| Libcurl | download page | http://curl.haxx.se/ |
:
--with-opengl
on the configure command-line. You may also want
to configure with:
--enable-unicodesudo ./build.sh installcmake . -DCMAKE_BUILD_TYPE=Release -DOSG_USE_FLOAT_MATRIX=ON
GDAL_DATA=/home/user/foo/gdal/data
PROJ_LIB=/home/user/foo/proj/nad
Make.defs. It provide definitions for
the Makefiles. Most platform-specific build changes (compiler, flags,
library locations, etc.) can be made here.SUPPORT_QUIKGRID
SUPPORT_NETCDF
SUPPORT_HTTP (for libcurl)
SUPPORT_UNZIP
SUPPORT_SQUISH
make in the TerrainSDK directory to build the VTP libraries.
Each library is created as a .so file (or .dylib on OS X)make install in your TerrainSDK folder, which
will copy your .so to the install folder, which on Linux defaults to /usr/local/lib
(unless you have changed it in Make.defs), which is generally already on
the library path, orLD_LIBRARY_PATH
environment variable, like this:export LD_LIBRARY_PATH=/usr/local/lib:~/vtp/TerrainSDK/vtdata:~/vtp/TerrainSDK/vtlib/vtosg:~/vtp/TerrainSDK/xmlhelper:~/vtp/TerrainSDK/vtui:~/vtp/TerrainSDK/unzip:~/vtp/TerrainSDK/minidata
make in the TerrainApps directory to build the VTP
applications.If you encounter build problems, the vtp-unix mailing list exists to answer any questions.