[Insight-users] Building error with Statistics::Histogram

Benjamin CONAN bconan at gmail.com
Mon Jul 4 16:20:17 EDT 2011


Good afternoon,
I'm trying to build a third party application using ITK on Windows and
VS2008.
ITK has been built in Cmake with
ITK_USE_REVIEW = ON
ITK_USE_REVIEW_STATISTICS = ON

I'm getting the following error :

1>filtros.obj : error LNK2019: unresolved external symbol "public:
__thiscall itk::Statistics::Histogram<double,class
itk::Statistics::DenseFrequencyContainer2>::ConstIterator::ConstIterator(void)"
(??0ConstIterator@?$Histogram at NVDenseFrequencyContainer2@Statistics at itk
@@@Statistics at itk@@QAE at XZ) referenced in function "protected: virtual class
itk::SmartPointer<class itk::Image<double,2> > __thiscall
GNC::FiltroAutoNiveles::ProcesarImagen(class itk::SmartPointer<class
itk::Image<double,2> >)" (?ProcesarImagen at FiltroAutoNiveles@GNC@
@MAE?AV?$SmartPointer at V?$Image at N$01 at itk@@@itk@@V34@@Z)
1>C:\Ginkgo\src\ginkgo\Debug\cadxCore.dll : fatal error LNK1120: 1
unresolved externals

itkStatistics is included in the project dependencies.
Does anyone has any idea where the problem might come from ?

Thank you.
Benjamin.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110704/7ab3f92d/attachment.htm>


More information about the Insight-users mailing list