Thanks! It may be a dumb question. I do not know any C++. How do you know what libraries I need? say, I need 100 libraries. Do I need to add them all to the TARGET_LINK_LIBRARIES? Thank you!<br><br><div class="gmail_quote">
On Wed, Mar 24, 2010 at 3:18 PM, John Drescher <span dir="ltr"><<a href="mailto:drescherjm@gmail.com">drescherjm@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">> Thanks for the prompt reply. I just built it again and got the following<br>
> errors. I wonder if you may know what they mean. Thanks!<br>
><br>
> 1>------ Build started: Project: ImageRegistration1, Configuration: Debug<br>
> Win32 ------<br>
> 1>Linking...<br>
> 1>ImageRegistration1.obj : error LNK2019: unresolved external symbol<br>
> "public: virtual __thiscall itk::ImageIORegion::~ImageIORegion(void)"<br>
> (??1ImageIORegion@itk@@UAE@XZ) referenced in function<br>
> __unwindfunclet$??0?$ImageFileReader@V?$Image@M$01@itk@@V?$DefaultConvertPixelTraits@M@2@@itk@@IAE@XZ$0<br>
> 1>ImageRegistration1.obj : error LNK2019: unresolved external symbol<br>
> "public: __thiscall itk::ImageIORegion::ImageIORegion(void)"<br>
> (??0ImageIORegion@itk@@QAE@XZ) referenced in function "protected: __thiscall<br>
<br>
</div>You need to add<br>
<br>
ITKIO<br>
<br>
to your TARGET_LINK_LIBRARIES<br>
<br>
maybe more libraries. I did not look at every error.<br>
<font color="#888888"><br>
John<br>
</font></blockquote></div><br>