Ask Your Question

Revision history [back]

I solve the problem by making a clean up. The problem was that i installed opencv from repo and than from source (cmake/make/make install). So i solve by removing the 'form source version' of opencv.

To compile (facerec_video.cpp v2.4.9 here) i use opencv from repo and run:

g++ `pkg-config --cflags opencv` -o facerec_video facerec_video.cpp `pkg-config --libs opencv`

Thanks for help!