[Insight-users] Example ScalarImageKmeansClassifier issue

dcardenasp dcardenasp at gmail.com
Wed Oct 26 12:45:30 EDT 2011


Dear all,

I was trying to compile the ScalarImageKmeansClassifier.cxx in the
Statistics examples folder, but I got this error message:

CMakeFiles/ScalarImageKmeansClassifier.dir/ScalarImageKmeansClassifier.o: In
function `MinimumDecisionRule2':
/usr/include/InsightToolkit/Review/Statistics/itkMinimumDecisionRule2.h:57:
undefined reference to `itk::Statistics::DecisionRule::DecisionRule()'
/usr/include/InsightToolkit/Review/Statistics/itkMinimumDecisionRule2.h:57:
undefined reference to `vtable for itk::Statistics::MinimumDecisionRule2'
CMakeFiles/ScalarImageKmeansClassifier.dir/ScalarImageKmeansClassifier.o: In
function
`itk::ObjectFactory<itk::Statistics::MinimumDecisionRule2>::Create()':
/usr/include/InsightToolkit/Common/itkObjectFactory.h:52: undefined
reference to `typeinfo for itk::Statistics::MinimumDecisionRule2'
/usr/include/InsightToolkit/Common/itkObjectFactory.h:53: undefined
reference to `typeinfo for itk::Statistics::MinimumDecisionRule2'
collect2: ld returned 1 exit status
make[2]: *** [ScalarImageKmeansClassifier] Error 1
make[1]: *** [CMakeFiles/ScalarImageKmeansClassifier.dir/all] Error 2
make: *** [all] Error 2

and I don't know how to fix it.

Please help. 

Thanks

--
View this message in context: http://itk-insight-users.2283740.n2.nabble.com/Example-ScalarImageKmeansClassifier-issue-tp6933340p6933340.html
Sent from the ITK Insight Users mailing list archive at Nabble.com.


More information about the Insight-users mailing list