Machine Learning Library OpenCV
i've tried to compile the CvEM example of the documentation (http://opencv.willowgarage.com/wiki/MachineLearning#Expectation-Maximization). i've set the library search path to opencv\lib and also the include path. i inlcude the -lml machine learning library
however i got the following error:

undefined reference to `CvEM::CvEM()'

// CvEM em_model;
 CvEMParams params;

if i comment CvEM em_model the code compiles - CvEMParams doesn't result in an error. so i think that i didn't have problems with the include paths!? does anyone know how to solve this problem? thank you in advance

Also if i run the code in Visual Studio, it runs perfectly. 
best regards

Machine Learning Library OpenCV
===

i've tried to compile the CvEM example of the documentation (http://opencv.willowgarage.com/wiki/MachineLearning#Expectation-Maximization). i've set the library search path to opencv\lib and also the include path. i inlcude the -lml machine learning library
however i got the following error:

undefined reference to `CvEM::CvEM()'

// CvEM em_model;
 CvEMParams params;

if i comment CvEM em_model the code compiles - CvEMParams doesn't result in an error. so i think that i didn't have problems with the include paths!? does anyone know how to solve this problem? thank you in advance

Also if i run the code in Visual Studio, it runs perfectly. 
best regards
