<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi, all -<br><br> I am using ITK 3.16 in vista with vs 2008, and I tried to compile the example codes <br>itkLabelStatisticsImageFilterTest.cxx under InsightToolkit-3.16.0\Testing\Code\BasicFilters, got the following errors -<br><br> Any idea what is going on here?<br><br> Thanks in advance for any help.<br><br>Suyang<br><br>Error 2 error LNK2019: unresolved external symbol "public: bool __thiscall itk::Statistics::DenseFrequencyContainer::IncreaseFrequency(unsigned long,float)" (?IncreaseFrequency@DenseFrequencyContainer@Statistics@itk@@QAE_NKM@Z) referenced in function "public: bool __thiscall itk::Statistics::Histogram<double,1,class itk::Statistics::DenseFrequencyContainer>::IncreaseFrequency(unsigned long const &,float)"
(?IncreaseFrequency@?$Histogram@N$00VDenseFrequencyContainer@Statistics@itk@@@Statistics@itk@@QAE_NABKM@Z) zzLabelStatisticsImageFilterTest.obj <br><br>Error 3 error LNK2019: unresolved external symbol "protected: __thiscall itk::Statistics::DenseFrequencyContainer::DenseFrequencyContainer(void)" (??0DenseFrequencyContainer@Statistics@itk@@IAE@XZ) referenced in function "public: static class itk::SmartPointer<class itk::Statistics::DenseFrequencyContainer> __cdecl itk::Statistics::DenseFrequencyContainer::New(void)" (?New@DenseFrequencyContainer@Statistics@itk@@SA?AV?$SmartPointer@VDenseFrequencyContainer@Statistics@itk@@@3@XZ) zzLabelStatisticsImageFilterTest.obj <br><br>Error 4 error LNK2019: unresolved external symbol "public: float __thiscall itk::Statistics::DenseFrequencyContainer::GetFrequency(unsigned
long)const " (?GetFrequency@DenseFrequencyContainer@Statistics@itk@@QBEMK@Z) referenced in function "public: virtual float __thiscall itk::Statistics::Histogram<double,1,class itk::Statistics::DenseFrequencyContainer>::GetFrequency(unsigned long const &)const " (?GetFrequency@?$Histogram@N$00VDenseFrequencyContainer@Statistics@itk@@@Statistics@itk@@UBEMABK@Z) zzLabelStatisticsImageFilterTest.obj <br><br><br>Error 5 error LNK2019: unresolved external symbol "public: void __thiscall itk::Statistics::DenseFrequencyContainer::Initialize(unsigned long)" (?Initialize@DenseFrequencyContainer@Statistics@itk@@QAEXK@Z) referenced in function "public: void __thiscall itk::Statistics::Histogram<double,1,class itk::Statistics::DenseFrequencyContainer>::Initialize(class itk::Size<1> const &)"
(?Initialize@?$Histogram@N$00VDenseFrequencyContainer@Statistics@itk@@@Statistics@itk@@QAEXABV?$Size@$00@3@@Z) zzLabelStatisticsImageFilterTest.obj <br><br>Error 6 error LNK2019: unresolved external symbol "public: void __thiscall itk::Statistics::DenseFrequencyContainer::SetToZero(void)" (?SetToZero@DenseFrequencyContainer@Statistics@itk@@QAEXXZ) referenced in function "public: void __thiscall itk::Statistics::Histogram<double,1,class itk::Statistics::DenseFrequencyContainer>::SetToZero(void)" (?SetToZero@?$Histogram@N$00VDenseFrequencyContainer@Statistics@itk@@@Statistics@itk@@QAEXXZ) zzLabelStatisticsImageFilterTest.obj <br><br><br><br><br></td></tr></table><br>