[Insight-users] CMake Configuration errors‏

John Drescher drescherjm at gmail.com
Tue Nov 29 11:57:10 EST 2011


On Tue, Nov 29, 2011 at 11:45 AM, William <hsc852 at gmail.com> wrote:
> Hi all,
>
> I am using Window Vista. I was able to install Cmake and extract ITK (Do I
> need to build ITK with CMake first? If yes, please inform me how it is
> done). There are some errors occurred when i configured CMake for the
> HelloWorld programme as below:
>
> CMake Error at C:/Program Files/CMake
> 2.8/share/cmake-2.8/Modules/FindITK.cmake:48 (FIND_PACKAGE):
>
> Could not find a configuration file for package ITK.
>
> Set ITK_DIR to the directory containing a CMake configuration file for ITK.
>
> The file will be called 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!
>
> Can anyone please help me to solve the problem above?
>

Do exactly as it says in cmake-gui. "Set ITK_DIR to the directory
containing a CMake configuration file for ITK." This is the place
where you built ITK.

John


More information about the Insight-users mailing list