cannot build monteverdi2
Mantis Issue 880, reported by rkanavath, assigned to salbert, created: 2014-02-06
[ 95%] Building CXX object Code/Application/Monteverdi2/CMakeFiles/Monteverdi2_Catalogue.dir/mvdMainWindow.cxx.o /home/rashad/code/orfeo/Monteverdi2/Code/Application/Monteverdi2/mvdMainWindow.cxx: In member function ‘void mvd::MainWindow::OnAboutToChangeSelectedDatasetModel(const mvd::DatasetModel*)’: /home/rashad/code/orfeo/Monteverdi2/Code/Application/Monteverdi2/mvdMainWindow.cxx:1446:1: error: a function-definition is not allowed here before ‘{’ token { ^ /home/rashad/code/orfeo/Monteverdi2/Code/Application/Monteverdi2/mvdMainWindow.cxx:1834:1: error: expected ‘}’ at end of input } // end namespace 'mvd' ^ /home/rashad/code/orfeo/Monteverdi2/Code/Application/Monteverdi2/mvdMainWindow.cxx: At global scope: /home/rashad/code/orfeo/Monteverdi2/Code/Application/Monteverdi2/mvdMainWindow.cxx:1834:1: error: expected ‘}’ at end of input make[2]: *** [Code/Application/Monteverdi2/CMakeFiles/Monteverdi2_Catalogue.dir/mvdMainWindow.cxx.o] Error 1 make[1]: *** [Code/Application/Monteverdi2/CMakeFiles/Monteverdi2_Catalogue.dir/all] Error 2 make: *** [all] Error 2
Enabled otbIce.
1391766512 - salbertYou need to:
- build OTB-Ice;
- Add ICE_INCLUDE_DIR=$ENV{HOME}/.../ice/include/otb to MVD2 CMake cache;
- Add ICE_LIBRARY=$ENV{HOME}/.../install/ice/lib/otb/libOTBIce.so to MVD2 CMake cache.
1392022619 - rashadkmStill failing. Here is the ICE defines from CMakeCache.txt //Path to a file. ICE_INCLUDE_DIR:PATH=/home/rashad/local/include/otb
//Path to a library. ICE_LIBRARY:FILEPATH=/home/rashad/local/lib/otb/libOTBIce.so
1392025068 - salbertFixed compilation error. Changeset: http://hg.orfeo-toolbox.org/Monteverdi2/rev/719a3be54e8e