Skip to content

Instantly share code, notes, and snippets.

@jimyhuang
Last active August 29, 2015 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jimyhuang/5ce2163a33bc2988daa4 to your computer and use it in GitHub Desktop.
Save jimyhuang/5ce2163a33bc2988daa4 to your computer and use it in GitHub Desktop.
[OTB] ORFEO Toolbox compile instruction in Debian Wheezy
####
# 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