[Insight-users] project settings - linker error

mailinglist at tus-wickrath.de mailinglist at tus-wickrath.de
Mon Jan 2 13:31:08 EST 2006


I have recently started to work with ITK and included the toolkit to an already existing project using MS Visual Studio 6.0.
Everything works pretty fine, but using the "itkConfidenceConnectedImageFilter" class causes unfortunately an linker error, I do not get rid off:

error LNK2001: Unresolved external symbol "protected: __thiscall itk::ConfidenceConnectedImageFilter<class itk::Image<float,2>,class itk::Image<bool,2> >::ConfidenceConnectedImageFilter<class itk::Image<float,2>,class itk::
Image<bool,2> >(void)" (??0?$ConfidenceConnectedImageFilter at V?$Image at M$01 at itk@@V?$Image at _N$01 at 2@@itk@@IAE at XZ)
Debug/test.exe : fatal error LNK1120: 1 unresolved external link

I have included a bunch of librarys, e.g. the "itkNeighborhoodConnectedImageFilter" class works without any issues. Does the ConfidenceConnected filter need any other libs than the NeighborhoodConnected filter, or is this error caused by an other reason?

Thanks a lot,

More information about the Insight-users mailing list