On Thu, Apr 30, 2015 at 12:08 PM, Arnaud Durand <
[email protected]> wrote:

>
> Hi Rashad,
>
> Thanks for your speedy assistance. It works with the 0.2.0 tag, indeed.
>

are you using ITK_DIR=<itk install prefix>/lib/cmake/ITK-<version>

Also, there isn't any find_package(ITK) ... in the CMakeLists.txt

maybe adding the following lines before find_package(OTB .... in
CMakeLists.txt might help.

# 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)





> However I still had to add manually the link to the headers of ITK in the
> CMakeLists.
>
> Thanks again.
> 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.
>



-- 
Regards,
   Rashad

-- 
-- 
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.

Reply via email to