Ask Your Question

wrahool's profile - activity

2013-08-03 06:28:23 -0600 asked a question Cannot locate OpenCV libraries on Ubuntu

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.