Error building application with IPP enabled OpenCV library

asked 2014-06-11 01:40:47 -0600

arshan gravatar image

Hi,

I have build OpenCV v2.4.8 with IPP v.7.1 on Ubuntu 12.04. I was only able to build opencv by disabling the BUILD_SHARED_LIBS flag in cmake. So I have got the static opencv libraries in my /usr/lib folder.

Now i was trying to build my application with libopencv but got hundred and hundreds of 'undefined reference to' errors. To be simple, i tried to compile this sample program using the following command:

g++ cvtest.c -lopencv_core -lopencv_highgui -o imagedisplay

Even then i was getting same errors. Can someone have an idea or experience how to deal with this issue?

Regards,

edit retag flag offensive close merge delete