[Insight-users] link problem in ITK/Examples/ImageProcessing/CropImageFilter
David Doria
daviddoria at gmail.com
Wed May 8 12:06:09 EDT 2013
On Wed, May 8, 2013 at 10:17 AM, Cary lorey <developement.unity at gmail.com>wrote:
> I tried this example, but when I do a built, I get these errors:
>
> error LNK2019: unresolved external symbol "public: void __thiscall
> QuickView::Visualize(bool)" (?Visualize at QuickView@@QAEX_N at Z) referenced
> in function _main CropImageFilter.obj CropImageFilter
>
>
> error LNK2019: unresolved external symbol "public: void __thiscall
> QuickView::AddRGBImage<class itk::Image<class itk::RGBPixel<unsigned
> char>,2> >(class itk::Image<class itk::RGBPixel<unsigned char>,2>
> *,bool,class std::basic_string<char,struct std::char_traits<char>,class
> std::allocator<char> >)" (??$AddRGBImage at V?$Image at V?$RGBPixel at E@itk@
> @$01 at itk@@@QuickView@@QAEXPAV?$Image at V?$RGBPixel at E@itk@@$01 at itk
> @@_NV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@@Z)
> referenced in function _main CropImageFilter.obj CropImageFilter
>
>
> Please,I wanted to know where the error comes from, although I have
> changed anything in the example.
>
> thank you in advance
>
You need to build ITK with Module_ITKVtkGlue enabled. Either that or just
remove the QuickView section from the example. You can write a file with an
itkImageFileWriter instead if you are just trying to see what the filter
does.
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20130508/38ca7231/attachment.htm>
More information about the Insight-users
mailing list