[Insight-users] compile itkLabelStatisticsImageFilter

Suyang Mei suyang_mei at yahoo.com
Thu Feb 11 18:59:29 EST 2010


Hi, all -

  I am using ITK 3.16 in vista with vs 2008, and I tried to compile the example codes 
itkLabelStatisticsImageFilterTest.cxx  under InsightToolkit-3.16.0\Testing\Code\BasicFilters, got the following errors -

  Any idea what is going on here?

  Thanks in advance for any help.

Suyang

Error    2    error LNK2019: unresolved external symbol "public: bool __thiscall itk::Statistics::DenseFrequencyContainer::IncreaseFrequency(unsigned long,float)" (?IncreaseFrequency at DenseFrequencyContainer@Statistics at itk@@QAE_NKM at Z) referenced in function "public: bool __thiscall itk::Statistics::Histogram<double,1,class itk::Statistics::DenseFrequencyContainer>::IncreaseFrequency(unsigned long const &,float)" (?IncreaseFrequency@?$Histogram at N$00VDenseFrequencyContainer at Statistics@itk@@@Statistics at itk@@QAE_NABKM at Z)    zzLabelStatisticsImageFilterTest.obj    

Error    3    error LNK2019: unresolved external symbol "protected: __thiscall itk::Statistics::DenseFrequencyContainer::DenseFrequencyContainer(void)" (??0DenseFrequencyContainer at Statistics@itk@@IAE at XZ) referenced in function "public: static class itk::SmartPointer<class itk::Statistics::DenseFrequencyContainer> __cdecl itk::Statistics::DenseFrequencyContainer::New(void)" (?New at DenseFrequencyContainer@Statistics at itk@@SA?AV?$SmartPointer at VDenseFrequencyContainer@Statistics at itk@@@3 at XZ)    zzLabelStatisticsImageFilterTest.obj   

Error    4    error LNK2019: unresolved external symbol "public: float __thiscall itk::Statistics::DenseFrequencyContainer::GetFrequency(unsigned long)const " (?GetFrequency at DenseFrequencyContainer@Statistics at itk@@QBEMK at Z) referenced in function "public: virtual float __thiscall itk::Statistics::Histogram<double,1,class itk::Statistics::DenseFrequencyContainer>::GetFrequency(unsigned long const &)const " (?GetFrequency@?$Histogram at N$00VDenseFrequencyContainer at Statistics@itk@@@Statistics at itk@@UBEMABK at Z)    zzLabelStatisticsImageFilterTest.obj   


Error    5    error LNK2019: unresolved external symbol "public: void __thiscall itk::Statistics::DenseFrequencyContainer::Initialize(unsigned long)" (?Initialize at DenseFrequencyContainer@Statistics at itk@@QAEXK at Z) referenced in function "public: void __thiscall itk::Statistics::Histogram<double,1,class itk::Statistics::DenseFrequencyContainer>::Initialize(class itk::Size<1> const &)" (?Initialize@?$Histogram at N$00VDenseFrequencyContainer at Statistics@itk@@@Statistics at itk@@QAEXABV?$Size@$00 at 3@@Z)    zzLabelStatisticsImageFilterTest.obj    

Error    6    error LNK2019: unresolved external symbol "public: void __thiscall itk::Statistics::DenseFrequencyContainer::SetToZero(void)" (?SetToZero at DenseFrequencyContainer@Statistics at itk@@QAEXXZ) referenced in function "public: void __thiscall itk::Statistics::Histogram<double,1,class itk::Statistics::DenseFrequencyContainer>::SetToZero(void)" (?SetToZero@?$Histogram at N$00VDenseFrequencyContainer at Statistics@itk@@@Statistics at itk@@QAEXXZ)    zzLabelStatisticsImageFilterTest.obj    







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


More information about the Insight-users mailing list