Search code examples
c++image-processingcmakevtkitk

Cmake can't find ITKconfig.cmake


I'm trying to make a new project using ITK and VTK. I've created a new directory with the src and bin sub directories and created the Cmakelists.txt and .cxx files accordingly to ITK own guide intructions. However, when i try to configure using cMake, i get this warning stating that the file ITKconfig.cmake could not be found even though i have it on the path i added manually as you can see on the image.

CMAKE warning and file path

What am i doing wrong here? Really want to start working on my project but i need to have it created first. Thanks in advance


Solution

  • It looks like you should set ITK_DIR to C:/itk/bin (judging by how you organize source and build folders).