Re: [otb-users] ITK configuration file for cmake (Windows compilation)

2017-10-30 Thread Guillaume Pasero

  
  
Hi,
Depending on your install of ITK, you can set the variable
  ITK_DIR in the OTB build configuration. This variable should
  contain the path to the folder containing ITKConfig.cmake. For
  instance, if you use OTB binary package, it should be something
  like : .../OTB-6.2.0-Win64/lib/cmake/ITK-4.12
Regards,
Guillaume


On 10/30/2017 10:01 AM, Baptiste
  Lafabregue wrote:


  Hello,


I'm trying to compile OTB on windows (on a 64b machine). I
  followed the steps from the wiki, but when I want to configure
  the build it stops with the following message :
  
  
  
CMake Warning at
Modules/ThirdParty/ITK/otb-module-init.cmake:103
(find_package):
  By not providing "FindITK.cmake" in
CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file
provided by "ITK", but
  CMake did not find one.

  
  Could not find a package configuration file
provided by "ITK" with any of
  the following names:

  
    ITKConfig.cmake
    itk-config.cmake

  
  Add the installation prefix of "ITK" to
CMAKE_PREFIX_PATH or set "ITK_DIR"
  to a directory containing one of the above files. 
If "ITK" provides a
  separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
  CMake/OTBModuleEnablement.cmake:394 (include)
  CMakeLists.txt:326 (include)
  
  
  
  From what I understood FindITK.cmake is no more provided
with cmake 3.0 and above. On the other hand ITK comply to
cmake 3.0+ only with version 4.0+. 
  Is there a way to solve this ?
  
  
  Thank you,
  Baptiste 
  
  

  
  -- 
  -- 
  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 otb-users@googlegroups.com
  To unsubscribe from this group, send email to
  otb-users+unsubscr...@googlegroups.com
  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 otb-users+unsubscr...@googlegroups.com.
  For more options, visit https://groups.google.com/d/optout.


-- 
  

  
  
  Guillaume PASERO
Responsable technique
Business Unit ESPACE & GeoInformation -
  Département Payload Data & Applications

CS Systèmes d'Information
Parc de la Grande Plaine - 5, Rue Brindejonc des
Moulinais - BP 15872
31506 Toulouse Cedex 05 - FRANCE
+33 561 17 64 21 - guillaume.pas...@c-s.fr
  
  

  

  




-- 
-- 
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 otb-users@googlegroups.com
To unsubscribe from this group, send email to
otb-users+unsubscr...@googlegroups.com
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 otb-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[otb-users] ITK configuration file for cmake (Windows compilation)

2017-10-30 Thread Baptiste Lafabregue
Hello,

I'm trying to compile OTB on windows (on a 64b machine). I followed the 
steps from the wiki, but when I want to configure the build it stops with 
the following message :

*CMake Warning at Modules/ThirdParty/ITK/otb-module-init.cmake:103 
(find_package):*
*  By not providing "FindITK.cmake" in CMAKE_MODULE_PATH this project has*
*  asked CMake to find a package configuration file provided by "ITK", but*
*  CMake did not find one.*

*  Could not find a package configuration file provided by "ITK" with any 
of*
*  the following names:*

*ITKConfig.cmake*
*itk-config.cmake*

*  Add the installation prefix of "ITK" to CMAKE_PREFIX_PATH or set 
"ITK_DIR"*
*  to a directory containing one of the above files.  If "ITK" provides a*
*  separate development package or SDK, be sure it has been installed.*
*Call Stack (most recent call first):*
*  CMake/OTBModuleEnablement.cmake:394 (include)*
*  CMakeLists.txt:326 (include)*

>From what I understood FindITK.cmake is no more provided with cmake 3.0 and 
above. On the other hand ITK comply to cmake 3.0+ only with version 4.0+. 
Is there a way to solve this ?

Thank you,
Baptiste 

-- 
-- 
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 otb-users@googlegroups.com
To unsubscribe from this group, send email to
otb-users+unsubscr...@googlegroups.com
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 otb-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.