Source: cimg
Version: 1.6.5+dfsg-1
Severity: important
Justification: fails to build from source
Tags: patch

Dear Maintainer,

I am scheduled to transition of opencv.
This package is target to transition. I tested build with opencv 3.1.
As a result, this FTBFS with opencv 3.1.
Cause is that libopencv_imageio library is not specified at the time
of the library of the link.

I attached patch that revice this problem.
Could you check this patch and apply?

Best regards,

Nobuhiro Iwamatsu
   iwamatsu at { /}
   GPG ID: 40AD1FA6
Description: Fix build with Opencv 3.1

/usr/bin/ld: /tmp/ccuYcVc5.o: undefined reference to symbol 'cvWriteFrame'
//usr/lib/x86_64-linux-gnu/ error adding symbols: DSO
//missing from command line
collect2: error: ld returned 1 exit status
Makefile:248: recipe for target 'CImg_demo' failed

Author: Nobuhiro Iwamatsu <>
Forwarded: no
Last-Update: 2016-10-17

--- cimg-1.6.5+dfsg.orig/examples/Makefile
+++ cimg-1.6.5+dfsg/examples/Makefile
@@ -142,7 +142,7 @@ endif
 # Flags to enable OpenCV support.
 CIMG_OPENCV_CFLAGS = -Dcimg_use_opencv -I/usr/include/opencv
-CIMG_OPENCV_LIBS = -lopencv_core -lopencv_highgui
+CIMG_OPENCV_LIBS = -lopencv_core -lopencv_highgui -lopencv_videoio
 #CIMG_OPENCV_LIBS = -lcv -lhighgui    #-> Use this for OpenCV < 2.2.0
 # Flags used to disable display capablities of CImg

Description: Binary data

debian-science-maintainers mailing list

Reply via email to