[Insight-users] Why does this error occur?

Luis Ibanez luis.ibanez at kitware.com
Sat Dec 29 11:51:27 EST 2007


Hi Simon,

You are probably missing to link to ITKIO.lib.

...but... it also may be that you are mixing compilation
modes between the ITK library and your application.

What is your platform ?
- Operating System
- Compiler


Could you please post to the list the *EXACT* error
message that you get ?


   Thanks


       Luis


------------------
夏松 wrote:
> Hello everybody:
>    I  use the itk::ImageFileReader to read a file like this 
> 
>   		typedef itk::image<Pixeltype ,dimension > imagetype;
> 		typedef itk::ImageFileReader<imagetype>   ReaderType;
>         ReaderType::Pointer reader = ReaderType::New();
>   but during the link process ,the complier said some .lib file cannot be found .if i don't add "ReaderType::Pointer reader = ReaderType::New();" everything is ok .i don't know why and how to solve this problem 
> Please give me a hand .Thanks in advance
> 
> 
> 	
> 
>  				
> 
>         simon
>         xs81525 at 126.com
>           2007-12-20
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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