Last active
August 29, 2015 14:13
-
-
Save jimyhuang/5ce2163a33bc2988daa4 to your computer and use it in GitHub Desktop.
[OTB] ORFEO Toolbox compile instruction in Debian Wheezy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#### | |
# This guide using OTB 3.20 and debian wheezy | |
# reference guide of OTB | |
# http://orfeo-toolbox.sourceforge.net/FAQ/OTB-FAQ.html#SECTION00050000000000000000 | |
# http://www.orfeo-toolbox.org/packages/archives/Doc/OTB-FAQ-3.8.pdf | |
#### | |
# you needs all theses ... | |
apt-get install libfltk1.1 cmake gdal-bin libgdal-dev geotiff-bin libgeotiff-dev | |
# download package first at http://sourceforge.net/projects/orfeo-toolbox/files/OTB/OTB-3.20/ | |
cd /usr/local/ | |
wget <url of otb> # <== replace url here | |
tar -zxvf OTB-3.20.0.tgz | |
mkdir OTB-Binary | |
cd OTB-Binary | |
cmake ../OTB-3.20.0 | |
# Here have alert for turn off OpenGL | |
vim CMakeCache.txt | |
# find OTB_USE_VISU_GUI:BOOL=ON replace to OTB_USE_VISU_GUI:BOOL=OFF | |
# run cmake again | |
cmake ../OTB-3.20.0 | |
# Now everything ok | |
make | |
# after hour of compile ... | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment