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

Luis Ibanez luis.ibanez at kitware.com
Sun Apr 15 12:17:43 EDT 2007



Hi Lars,


You will find instructions on how to write CMakeLists.txt
file in the tutorials that we suggested in the previous
email:




 >     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
 >




Please read the documentation.



   Regards,


     Luis


---------------------
Lars Nygard wrote:
> Hi Luis,
> 
> I think the problem is with the CMakelist.txt. I don't know
> how to write one myself. Used the one that came with
> the InsightToolkit-3.2.0. I think that List compiles all 
> examples at once? Where can I find documentation on
> writing CMakelists?
> thanks,
> lars
> 
> ----- Original Message ----
> From: Luis Ibanez <luis.ibanez at kitware.com>
> To: Lars Nygard <lnygard at yahoo.com>
> Cc: insight-users at itk.org
> Sent: Sunday, April 15, 2007 4:39:56 PM
> Subject: Re: [Insight-users] New user: Error executing itkImageRegistrationMethod.h
> 
> 
> 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
>>
> 
> 
> 
>       
> _________________________________________________________
> Alt i én. Få Yahoo! Mail med adressekartotek, kalender og
> notisblokk. http://no.mail.yahoo.com
> 


More information about the Insight-users mailing list