Compiling ICE and Monteverdi from source follows the same procedure as a regular CMake project: setup a directory for an out-of-source build, configure and compile.
Setup an out-of-source build environment (this guide uses ∼/ICE but feel free to choose anything):
Remember to checkout the develop branch if you want the current development version:
CMake will need to be able to find your OTB installation location. Ensure the OTB_DIR variable is set to FindOTB.cmake file location. For example, if you installed OTB in ∼/OTB/install:
Make sure OTB is compiled with OTB_USE_QT4 set to ON. Setup another out-of-source build environment for Monteverdi:
Remember to checkout the develop branch if you want the current development version:
CMake needs to find both OTB, ICE and QWT installation locations. For example, set an CMake cache pre-population script with the following content:
Configure and compile monteverdi:
Everything that is needed for Ice and Monteverdi development on Windows, including compiling from source, is covered in details on the OTB wiki at: