[Insight-users] Build ITK using Visual Studio

John Drescher drescherjm at gmail.com
Tue Jun 16 16:39:10 EDT 2009


On Tue, Jun 16, 2009 at 4:28 PM, Yili Pan<pyl0420 at gmail.com> wrote:
> Hi everyone:
>
> I am just starting to use ITK. When I used the Hello World example, the
> Cmake came with the following problem:
>
>
> CMake Error at C:/Program Files/CMake
> 2.6/share/cmake-2.6/Modules/FindITK.cmake:78 (INCLUDE):
>
> include could not find load file:
>
> C:/ITK/InsightToolkit-3.12.0/HW/ITKConfig.cmake
>
> Call Stack (most recent call first):
>
> CMakeLists.txt:12 (FIND_PACKAGE)
>
> CMake Error at CMakeLists.txt:13 (INCLUDE):
>
> include called with wrong number of arguments. Include only takes one
>
> file.
>
> Configuring incomplete, errors occurred!
>
>
> I tired several ways to solve this problem, but still cannot figure it out.
> If anybody can help me out, I would be very grateful.
>
> Thanks in advance :)
>

Did you configure and then build ITK first? Did you do an out of source build?

John


More information about the Insight-users mailing list