Skip to content

Monteverdi build error (superbuild)

Description

Superbuild fails when compiling Monteverdi

Steps to reproduce

Configuration command: cmake -DCMAKE_CXX_FLAGS:STRING="-fopenmp" -DOTB_WRAP_PYTHON:BOOL=ON -DGDAL_SB_EXTRA_OPTIONS:STRING=--with-python -DOTB_USE_SHARK:BOOL=ON -DOTB_USE_QT:BOOL=ON -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/home/inglada/OTB/SuperBuild/ -DDOWNLOAD_LOCATION:PATH=/home/inglada/OTB/SuperBuild-archives/ -DOTB_DATA_ROOT:PATH=/home/inglada/OTB/git/otb-data /home/inglada/OTB/git/otb/SuperBuild/

Error message:

[ 75%] Building CXX object Modules/Visualization/MonteverdiCore/src/CMakeFiles/OTBMonteverdiCore.dir/__/include/moc_mvdAbstractImageModel.cpp.o
/home/inglada/OTB/SuperBuild/OTB/OTB/build/Modules/Visualization/MonteverdiCore/src/__/include/moc_mvdAbstractImageModel.cpp:9:10: fatal error: ../../../../../../../../../../git/otb/Modules/Visualization/MonteverdiCore/include/mvdAbstractImageModel.h: No such file or directory
 #include "../../../../../../../../../../git/otb/Modules/Visualization/MonteverdiCore/include/mvdAbstractImageModel.h"
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

Configuration information

Debian stable with gcc 7.3 built from source.