hi everyone, I'm trying to compile OTB Hello World exemple delivered in OTBSoftwareGuide, but it doesn't work :/ please, if you have any idea about these erreurs, help me
I compile OTB from source following steps of jordin inglada in this tuto ( http://jordiinglada.net/wp/2015/05/27/installing-otb-has-never-been-so-easy-8/), using debian8. This is the cmakefile: **************************************************************************** PROJECT(Tutorials) cmake_minimum_required(VERSION 2.6) FIND_PACKAGE(OTB) IF(OTB_FOUND) INCLUDE(${OTB_USE_FILE}) ELSE(OTB_FOUND) MESSAGE(FATAL_ERROR "Cannot build OTB project without OTB.Please set OTB_DIR.") ENDIF(OTB_FOUND) ADD_EXECUTABLE(HelloWorldOTB HelloWorldOTB.cxx ) TARGET_LINK_LIBRARIES(HelloWorldOTB ${OTB_LIBRARIES}) ****************************************************************************** and there the erreurs when i use "make" cmd: *************************************************************************** ^ /home/otb/OTB/SuperBuild/include/ITK-4.10/itkImageRegion.hxx:118:28: error: ‘const class itk::ImageRegion<2u>’ has no member named ‘GetSize’ os << indent << "Size: " << this->GetSize() << std::endl; ^ CMakeFiles/HelloWorldOTB.dir/build.make:54: recipe for target 'CMakeFiles/HelloWorldOTB.dir/HelloWorldOTB.cxx.o' failed make[2]: *** [CMakeFiles/HelloWorldOTB.dir/HelloWorldOTB.cxx.o] Error 1 CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/HelloWorldOTB.dir/all' failed make[1]: *** [CMakeFiles/HelloWorldOTB.dir/all] Error 2 Makefile:76: recipe for target 'all' failed make: *** [all] Error 2 ********************************************************************************* -- -- Check the OTB FAQ at http://www.orfeo-toolbox.org/FAQ.html You received this message because you are subscribed to the Google Groups "otb-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/otb-users?hl=en --- You received this message because you are subscribed to the Google Groups "otb-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
