[Digikam-devel] [digikam] [Bug 360017] New: build error: opencv_contrib is required but was not found

Thomas Eschenbacher via KDE Bugzilla bugzilla_noreply at kde.org
Thu Mar 3 06:48:28 GMT 2016


https://bugs.kde.org/show_bug.cgi?id=360017

            Bug ID: 360017
           Summary: build error: opencv_contrib is required but was not
                    found
           Product: digikam
           Version: 5.0.0
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: digikam-devel at kde.org
          Reporter: Thomas.Eschenbacher at gmx.de

I tried to build yesterday's git version, but it does stop in cmake while
checking for opencv.

Reproducible: Always

Steps to Reproduce:
1. ./bootstrap.local


Actual Results:  
[...]
-- First try at finding OpenCV...
CMake Error at /usr/share/OpenCV/OpenCVConfig.cmake:232 (message):
  opencv_contrib is required but was not found
Call Stack (most recent call first):
  core/cmake/modules/MacroOpenCV.cmake:27 (find_package)
  core/CMakeLists.txt:229 (DETECT_OPENCV)
[...]


I am currently using media-libs/opencv-3.1.0-r2 (Gentoo Linux),
and also tried after downgrading to media-libs/opencv-3.1.0-r1,
media-libs/opencv-3.0.0, but with no luck. Also setting
ADDITIONAL_CMAKE_FLAGS='-DENABLE_OPENCV3:BOOL=ON', as suggested by a bug report
on redhat bugtracker made no difference.

Seems that digikam is not aware of the new opencv-3.x at all, I searched my
backups about anything related to "opencv_contrib" and I only found things like
/usr/lib64/libopencv_contrib.so.2.4.10 - so I conclude that this library does
no longer exist in opencv >= v3.0.

My current version of "core" is: commit
41b97ecec0703c61bf25e2a8d700908c5da37850
(Date:   Wed Mar 2 22:48:15 2016 +0100)

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list