[Insight-users] Problem in generating workspace for Hello World program using CMake

Luis Ibanez luis.ibanez at kitware.com
Tue Oct 25 01:27:33 EDT 2005


Hi Jian,

When CMake ask you for the "ITK_DIR" it expect you to providee
the *BINARY* directory where you built ITK, not the source code
directory.


    Regards,


       Luis


----------------
Jian Wu wrote:
> In generating the workspace for the 'Hello World' program using CMake, I 
> got the following error message:
> 
> CMake Error: Error in cmake code at
> C:/Program Files/Cmake20/Modules/FindITK.cmake:80:
> INCLUDE Could not find include file: 
> C:/users/wu/Researches/DownloadedCodes/ITK/InsightToolkit-2.2.0/ITKConfig.cmake 
> 
> 
> I found a file 'ITKConfig.cmake.in' instead of 'ITKConfig.cmake' under 
> the 'InsightToolkit-2.2.0' directory. What caused the problem? Please help!
> 
> Jian
> 
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
> 
> 



More information about the Insight-users mailing list