error in CascadeClassifier with haarcascade

asked 2014-04-29 03:38:56 -0600

viren gravatar image

updated 2014-04-29 03:50:53 -0600

whats the meaning of following errors in opencv2.4.5

undefined reference to `cv::CascadeClassifier::CascadeClassifier()'
undefined reference to `cv::CascadeClassifier::load(std::string const&)'
undefined reference to `cv::CascadeClassifier::detectMultiScale(cv::Mat const&, std::vector<cv::Rect_<int>, std::allocator<cv::Rect_<int> > >&, double, int, int, cv::Size_<int>, cv::Size_<int>)'

thanks in advance!!!!

edit retag flag offensive close merge delete

Comments

It means that your system cannot locate your openCV libraries. You must have done something wrong in configuring your system or while building the project. Check if linker settings are correct, if your global OS settings are correct, ...

StevenPuttemans gravatar imageStevenPuttemans ( 2014-04-29 03:52:02 -0600 )edit

I have the same problems...pls help me with more details...Thks

Padoste gravatar imagePadoste ( 2014-08-11 04:46:27 -0600 )edit

Follow the guidelines in the official installation tutorials. For Windows and for Linux.

StevenPuttemans gravatar imageStevenPuttemans ( 2014-08-11 05:14:44 -0600 )edit