[Insight-users] question on cmake.txt

John Drescher drescherjm at gmail.com
Wed Mar 24 16:18:43 EDT 2010


> Thanks for the prompt reply. I just built it again and got the following
> errors. I wonder if you may know what they mean. Thanks!
>
> 1>------ Build started: Project: ImageRegistration1, Configuration: Debug
> Win32 ------
> 1>Linking...
> 1>ImageRegistration1.obj : error LNK2019: unresolved external symbol
> "public: virtual __thiscall itk::ImageIORegion::~ImageIORegion(void)"
> (??1ImageIORegion at itk@@UAE at XZ) referenced in function
> __unwindfunclet$??0?$ImageFileReader at V?$Image at M$01 at itk@@V?$DefaultConvertPixelTraits at M@2@@itk@@IAE at XZ$0
> 1>ImageRegistration1.obj : error LNK2019: unresolved external symbol
> "public: __thiscall itk::ImageIORegion::ImageIORegion(void)"
> (??0ImageIORegion at itk@@QAE at XZ) referenced in function "protected: __thiscall

You need to add

ITKIO

to your TARGET_LINK_LIBRARIES

maybe more libraries. I did not look at every error.

John


More information about the Insight-users mailing list