Dear Ghassem,
I don't use OTB on Windows, but a colleague told me he successfully used
this page :
https://wiki.orfeo-toolbox.org/index.php/OTB_development_on_Windows_With_Eclipse
You can compile the remote module after updating the code from the Git
using the following command from your build folder :
cmake ../otb/ -DModule_SertitObject=ON
or if you are using the SuperBuild :
cmake ../otb/SuperBuild -DModule_SertitObject=ON
An other option is to copy the code from the Git (the .cpp and the .h) and
compile it as an OTB application using the attached CMakeLists.txt.
Arnaud
--
--
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.
cmake_minimum_required(VERSION 2.6)
# ITK
find_package(ITK REQUIRED)
if(ITK_FOUND)
MESSAGE(STATUS "ITK found")
include(${ITK_USE_FILE})
else(ITK_FOUND)
message(FATAL_ERROR "ITK not found. Please set ITK_DIR")
endif(ITK_FOUND)
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)
OTB_CREATE_APPLICATION(NAME ObjectsRadiometricStatistics SOURCES
otbObjectsRadiometricStatistics.cpp LINK_LIBRARIES OTBCommon)