Package: libopencv-dev Version: 3.0.0+dfsg-1~exp2+b1 Severity: important Trying to compile digikam5 with opencv3, I get this error at the very begining:
First try at finding OpenCV... CMake Error at /usr/share/OpenCV/OpenCVModules.cmake:120 (message): The imported target "opencv_shape" references the file "/usr/lib/x86_64-linux-gnu/libopencv_shape.so.3.0.0" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/usr/share/OpenCV/OpenCVModules.cmake" but not all the files it references. grep shape /usr/share/OpenCV/OpenCVModules.cmake foreach(_expectedTarget opencv_hal opencv_core opencv_flann opencv_imgproc opencv_ml opencv_photo opencv_video opencv_viz opencv_imgcodecs opencv_shape opencv_videoio opencv_highgui opencv_objdetect opencv_superres opencv_ts opencv_features2d opencv_calib3d opencv_java opencv_stitching opencv_videostab) # Create imported target opencv_shape add_library(opencv_shape SHARED IMPORTED) valette@tri-yann4:~/local/src/digikam$ dpkg -S opencv_shape dpkg-query: aucun chemin ne correspond à *opencv_shape* I have not this error when compiling openCV3 myslef -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 4.4.5 (SMP w/8 CPU cores; PREEMPT) Locale: LANG=fr_FR.UTF8, LC_CTYPE=fr_FR.UTF8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages libopencv-dev depends on: ii libatomic1 5.3.1-12 ii libc6 2.23-0experimental0 ii libgcc1 1:5.3.1-12 ii libgl1-mesa-glx [libgl1] 11.2.0~rc3-1 ii libglu1-mesa [libglu1] 9.0.0-2.1 ii libopencv-calib3d-dev 3.0.0+dfsg-1~exp2+b1 ii libopencv-calib3d3.0 3.0.0+dfsg-1~exp2+b1 ii libopencv-core-dev 3.0.0+dfsg-1~exp2+b1 ii libopencv-core3.0 3.0.0+dfsg-1~exp2+b1 ii libopencv-features2d-dev 3.0.0+dfsg-1~exp2+b1 ii libopencv-features2d3.0 3.0.0+dfsg-1~exp2+b1 ii libopencv-flann-dev 3.0.0+dfsg-1~exp2+b1 ii libopencv-flann3.0 3.0.0+dfsg-1~exp2+b1 ii libopencv-hal-dev 3.0.0+dfsg-1~exp2+b1 ii libopencv-highgui-dev 3.0.0+dfsg-1~exp2+b1 ii libopencv-highgui3.0 3.0.0+dfsg-1~exp2+b1 ii libopencv-imgcodecs-dev 3.0.0+dfsg-1~exp2+b1 ii libopencv-imgcodecs3.0 3.0.0+dfsg-1~exp2+b1 ii libopencv-imgproc-dev 3.0.0+dfsg-1~exp2+b1 ii libopencv-imgproc3.0 3.0.0+dfsg-1~exp2+b1 ii libopencv-ml-dev 3.0.0+dfsg-1~exp2+b1 ii libopencv-ml3.0 3.0.0+dfsg-1~exp2+b1 ii libopencv-objdetect-dev 3.0.0+dfsg-1~exp2+b1 ii libopencv-objdetect3.0 3.0.0+dfsg-1~exp2+b1 ii libopencv-photo-dev 3.0.0+dfsg-1~exp2+b1 ii libopencv-stitching-dev 3.0.0+dfsg-1~exp2+b1 ii libopencv-superres-dev 3.0.0+dfsg-1~exp2+b1 ii libopencv-ts-dev 3.0.0+dfsg-1~exp2+b1 ii libopencv-video-dev 3.0.0+dfsg-1~exp2+b1 ii libopencv-videoio-dev 3.0.0+dfsg-1~exp2+b1 ii libopencv-videoio3.0 3.0.0+dfsg-1~exp2+b1 ii libopencv-videostab-dev 3.0.0+dfsg-1~exp2+b1 ii libopencv-viz-dev 3.0.0+dfsg-1~exp2+b1 ii libstdc++6 5.3.1-12 ii libtbb2 4.3~20150611-1~exp3 ii pkg-config 0.29-3 Versions of packages libopencv-dev recommends: ii opencv-data 3.0.0+dfsg-1~exp2 libopencv-dev suggests no packages. -- no debconf information