Commit b9073e4b authored by Manuel Grizonnet's avatar Manuel Grizonnet

BUG: 1547 remove deprecated instructions to compile monteverdi

parent ac991f09
\chapter{Compiling Monteverdi from source}
\section{Linux and Mac OS X}
Compiling Monteverdi from source follows the same procedure as a regular CMake project: setup a directory for an
out-of-source build, configure and compile.
Make sure OTB is compiled with at least \texttt{OTB\_USE\_QT4}, \texttt{OTB\_USE\_GLUT}, \texttt{OTB\_USE\_GLFW} and \texttt{OTB\_USE\_GLEW} set to ON.
Setup another out-of-source build environment for Monteverdi:
$ mkdir ~/monteverdi
$ cd ~/monteverdi
$ git clone
$ mkdir build
$ mkdir install
Remember to checkout the develop branch if you want the current development version:
$ cd ~/monteverdi/monteverdi2
$ git checkout develop
CMake needs to find both OTB and QWT installation locations.
For example, set an CMake cache pre-population script with the following content:
# monteverdi-configuration.cmake
set(CMAKE_INSTALL_PREFIX "~/monteverdi/install" CACHE STRING "" FORCE)
set(OTB_DIR "~/OTB/install/lib/cmake/OTB-5.0" CACHE STRING "" FORCE)
set(QWT_INCLUDE_DIR "/usr/include/qwt5-qt4" CACHE STRING "" FORCE)
set(QWT_LIBRARY "/usr/lib64/" CACHE STRING "" FORCE)
Configure and compile monteverdi:
$ cd ~/monteverdi/build
$ cmake -C monteverdi-configuration.cmake ../monteverdi2
$ make
$ make install
Remember to set the \texttt{OTB\_APPLICATION\_PATH} environment variable to
allow monteverdi to find the OTB applications:
export OTB_APPLICATION_PATH=~/OTB/build/lib/otb/applications
Everything that is needed for Monteverdi development on Windows, including compiling from source, is covered in details on the OTB wiki at:
......@@ -217,12 +217,8 @@ colorlinks,linkcolor={blue},citecolor={blue},urlcolor={blue},
%Monteverdi is integrated in OTB as a module since release 5.8 so there is no
%need to maintain a specific section regarding monteverdi compilation.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment