Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Problem compiling Camshift in Ubuntu

Hi, I need your hepl. I´m new using this.

I need to compile a main program in ubuntu (main.cpp, wrote in c++).

Ihave no problem compiling programs that no depend on camshift, doing, for example:

"g++ main.cpp -lopencv_core -lopencv_highgui -lopencv_imgproc -o main"

But now, trying to compile a program that calls camshift, I have an error:

"undefined reference to cvCamshift "

I don´t know how what library I have to call! Pease, hepl! Thanks in advance!!