OpenCV 3.0 undefined reference to `WebPEncodeLosslessBGRA'

asked 2015-12-13 18:50:45 -0600

I am trying to compile OpenCV on Ubuntu 12.04 LTS.

The build keeps failing with the following error:

../../lib/libopencv_imgcodecs.so.3.0.0: undefined reference to WebPEncodeLosslessBGRA' ../../lib/libopencv_imgcodecs.so.3.0.0: undefined reference toWebPEncodeLosslessBGR'

The closest advice I've found is this:

http://code.opencv.org/issues/2980

But -- the solution is (i) for OpenCV 2.4.5 and (ii) doesn't work for me.

Any help would be gratefully received. Please let me know what extra information I can post.

edit retag flag offensive close merge delete