Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Undefined reference to "cv::name_function"

I I am using ubuntu 11.10, opencv 2.4.2, genom 2 I try to build a module using make but I abtain the error undefined reference to.. each time a function of opencv is needed, I include the following

#include <cv.h> 
#include <highgui.h>
#include "/home/amina/src/openrobots/include/opencv2/imgproc/imgproc.hpp"
#include "/home/amina/src/openrobots/include/opencv2/objdetect/objdetect.hpp"
#include "/home/amina/src/openrobots/include/opencv2/highgui/highgui.hpp"
#include "/home/amina/src/openrobots/include/opencv2/core/core.hpp"

I used opencv function before, and all was alright. Now I am using opencv with genom I got this problem.

THank you for any indication