https://bugs.kde.org/show_bug.cgi?id=416345
Bug ID: 416345
Summary: Proper opencv minimum version must be specified
Product: digikam
Version: 7.0.0
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Tarball-Cmake
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
cmake still asks for libopencv (version >= 3.1.0) even though version with dnn
(3.3) is required. Very confusing when building in ubuntu 18.04 (has 3.2).
Could you please specify proper minimum version.
STEPS TO REPRODUCE
1. Clone. Tested on
commit 537345be7223394c47c7b41629b2997f706e3bd3 (HEAD -> master, origin/master,
origin/HEAD)
Author: Maik Qualmann <[email protected]>
Date: Wed Jan 15 22:47:20 2020 +0100
try to fix crash under OSX
CCBUGS: 416289
2. Run "cmake ."
OBSERVED RESULT
-- Could NOT find OpenCV (missing: dnn) (found version "3.2.0")
CMake Warning at core/cmake/modules/MacroOpenCV.cmake:22 (find_package):
Found package configuration file:
/usr/share/OpenCV/OpenCVConfig.cmake
but it set OpenCV_FOUND to FALSE so package "OpenCV" is considered to be
NOT FOUND.
Call Stack (most recent call first):
core/CMakeLists.txt:306 (DETECT_OPENCV)
...
-- libopencv found.......................... NO
CMake Error at core/cmake/modules/MacroUtils.cmake:47 (message):
libopencv is needed. You need to install the libopencv (version >= 3.1.0)
development package.
Call Stack (most recent call first):
core/CMakeLists.txt:597 (PRINT_LIBRARY_STATUS)
EXPECTED RESULT
It should say 3.3 is required
SOFTWARE/OS VERSIONS
Ubuntu 18.04.3 LTS
libopencv-dev 3.2.0+dfsg-4ubuntu0.1
--
You are receiving this mail because:
You are watching all bug changes.