Cannot locate OpenCV libraries on Ubuntu

asked 2013-08-03 06:28:23 -0500

I installed OpenCV on Ubuntu 12.04, from the Ubuntu repositories, but I can't seem to locate the libraries.

When I run

$ pkg-config --cflags opencv

I get the following output :

-I/usr/include/opencv

and for

$ pkg-config --libs opencv

I get :

-lopencv_core -lopencv_imgproc -lopencv_highgui -lopencv_ml -lopencv_video -lopencv_features2d -lopencv_calib3d -lopencv_objdetect -lopencv_contrib -lopencv_legacy -lopencv_flann

I'm on Ubuntu 12.04 LTS and using Eclipse with the CDT plugin.

Thanks.

edit retag flag offensive close merge delete