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!!
Probably you have to link any of these lib -lopencv_video, -lopencv_videostab
Thanks!!! It worked!! thank you Haris!
You are welcome.