[Insight-users] ImageFileReader bug

David Doria daviddoria at gmail.com
Thu Dec 16 20:05:55 EST 2010


On Thu, Dec 16, 2010 at 7:44 PM, Sara Rolfe <smrolfe at u.washington.edu>wrote:

> Hi Brad,
>
> I rebuilt ITK with REVIEW enabled and added the lines you suggested to my
> code.  I'm getting some errors when I compile, however.
>
> Undefined symbols:
>   "itk::VTKImageIO2Factory::VTKImageIO2Factory()", referenced from:
>       itk::VTKImageIO2Factory::New()     in KdTest.cxx.o
> ld: symbol(s) not found
>
> Thanks,
> Sara
>
>
You need to link to ITKIOReview:

TARGET_LINK_LIBRARIES(YourProgram WhateverYouHadHereBefore ITKIOReview)

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20101216/19903577/attachment.htm>


More information about the Insight-users mailing list