[Digikam-devel] [Bug 264231] New: cmakelist.txt opencv-check broken
S. Burmeister
sven.burmeister at gmx.net
Tue Jan 25 08:58:40 GMT 2011
https://bugs.kde.org/show_bug.cgi?id=264231
Summary: cmakelist.txt opencv-check broken
Product: digikam
Version: 2.0.0
Platform: openSUSE RPMs
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: digikam-devel at kde.org
ReportedBy: sven.burmeister at gmx.net
Version: 2.0.0 (using KDE 4.5.95)
OS: Linux
Since a few days the opencv-check does not work anymore althought it did
before.
-- Checking GNUCXX version 3/4 to determine OpenCV /opt/net/ path
CMake Error at extra/libkface/cmake/modules_opencv/FindOpenCV.cmake:237
(MESSAGE):
OpenCV required but some headers or libs not found. Please specify it's
location with OpenCV_ROOT_DIR env. variable.
Call Stack (most recent call first):
extra/libkface/CMakeLists.txt:54 (FIND_PACKAGE)
The reason is that on some distros there were issues finding opncv.
"A short notice about OpenCV: Apparently, there are two versions of
FindOpenCV.cmake in the wild. If the one shipped with this software
does not find your OpenCV installation, specify
-DKFACE_EXTERNAL_FINDOPENCV:BOOL=TRUE as an argument to cmake to use
the FindOpenCV.cmake which is installed on your system."
The question is why the finding had to be broken for those distros that got it
right and where it did work before.
The result is that using scripts like the cmakekde one from techbase (which
compiles more than one module at a time) is no longer possible with digikam2
because it now requires some extra options which is completely unnecessary for
most distros.
Expected behaviour: force only those distros to add some extra where it did not
work before.
Reproducible: Always
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Digikam-devel
mailing list