[Insight-users] New user: Error executing itkImageRegistrationMethod.h

Luis Ibanez luis.ibanez at kitware.com
Sun Apr 15 10:39:56 EDT 2007


Hi Lars,

Did you take the source code out of the Examples directory ?

Did you write the CMakeLists.txt file for this file ?

Have you read the Tutorials ?

    http://www.itk.org/HTML/Tutorials.htm

In particular:

http://www.itk.org/CourseWare/Training/GettingStartedI-WebPage/index.htm

In this tutorial you will find instructions
on how to write your CMakeLists.txt files.

You should also read the first three chapters
of the ITK Software Guide


         http://www.itk.org/ItkSoftwareGuide.pdf



It seems that you are missing the FIND_PACKAGE(ITK) command
in your CMakeLists.txt file.



   Regards,


      Luis



---------------------
Lars Nygard wrote:
> Hi,
> Im new to ITK. Starting my master research on image registration
> at Sintef in Trondheim.
> Im trying to build the Registration1 example. (The 'Hello World!' for registration).
> Im using visual C++ 6.0. When I try to execute I get the following error:
> 
> Compiling...
> ImageRegistration1.cxx
> C:\Documents and Settings\tn\Desktop\ITK\InsightToolkit-3.2.0\InsightToolkit-3.2.0\Examples\Registration\ImageRegistration1.cxx(53) : fatal error C1083: Cannot open include file: 'itkImageRegistrationMethod.h': No such file or directory
> Error executing cl.exe.
> ImageRegistration1.exe - 1 error(s), 0 warning(s)
> 
> Any help would be appreciated.
> Greets
> Lars Nygard
> 
> 
>       
> _______________________________________________
> 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