[Insight-users] ImageFileReader bug

Sara Rolfe smrolfe at u.washington.edu
Thu Dec 16 20:12:37 EST 2010


Yes, that was it!  I can compile now and my reader is working  
correctly for the 3D 3-component vector image.

Thanks!
Sara


On Dec 16, 2010, at 5:05 PM, David Doria wrote:

> 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/8c3ae8a6/attachment.htm>


More information about the Insight-users mailing list