Summary: | digiKam 4.2.0 compilation error: undefined reference to `cvFillImage' | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | nucleo <nucleo> |
Component: | Portability-Compilation | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | caulier.gilles, reis |
Priority: | NOR | ||
Version: | 4.2.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kipi-plugins/7a5970f930b1063a093fece3f8abdfb37078d49d | Version Fixed In: | 4.3.0 |
Sentry Crash Report: |
Description
nucleo
2014-08-04 18:52:47 UTC
An OpenCV library component is missing in you system. Cmake rules define this components to link with OpenCV : https://projects.kde.org/projects/extragear/graphics/kipi-plugins/repository/revisions/master/entry/CMakeLists.txt#L122 This work fine under Linux MAgeia, OSX Macports, and Windows Gilles Caulier (In reply to Gilles Caulier from comment #1) > An OpenCV library component is missing in you system. > > Cmake rules define this components to link with OpenCV : > > https://projects.kde.org/projects/extragear/graphics/kipi-plugins/repository/ > revisions/master/entry/CMakeLists.txt#L122 > > This work fine under Linux MAgeia, OSX Macports, and Windows > > Gilles Caulier -- First try at finding OpenCV... -- Great, found OpenCV on the first try. -- OpenCV Root directory is: /usr/lib/OpenCV -- OpenCV: Found version 2.4.9 (required: 2.4.9) -- OpenCV headers: /usr/include/opencv;/usr/include -- OpenCV libs : opencv_core;opencv_highgui;opencv_objdetect;opencv_contrib Maybe problem related with this? http://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking Perhaps. In this case, it's an UPSTREAM problem... Gilles Caulier digiKam 4.1.0 built fine with opencv 2.4.9, so problem because something changed in 4.2.0. In 4.1.0, there is no restriction about components to link with OpenCV. With 4.2.0, we link explicitly with OPenCV components needs. This is relevant of this review board entry solved with 4.2.0 : https://git.reviewboard.kde.org/r/119413/ Perhaps under Fedora, we need to link with more OpenCV components... The cmake script which check OpenCV components is here : https://projects.kde.org/projects/extragear/graphics/kipi-plugins/repository/revisions/master/entry/cmake/modules/MacroOpenCV.cmake Gilles Caulier For me this error went away after replacing the line DETECT_OPENCV(2.4.6 core highgui objdetect contrib) with the line DETECT_OPENCV(2.4.9 core highgui objdetect contrib legacy) in extra/kipi-plugins/CMakeLists.txt I am using debian jessie, but I suspect that it will work for other distributions. Git commit 771e16b08255d11f9b2fd2ea7d4d6e8481b482ee by Gilles Caulier. Committed on 05/08/2014 at 14:29. Pushed by cgilles into branch 'master'. fix OpenCV components reqired to compile fine under Fedora and Debian. M +1 -1 CMakeLists.txt M +1 -0 README http://commits.kde.org/digikam/771e16b08255d11f9b2fd2ea7d4d6e8481b482ee Git commit 446acbc7a54b5fa7c5cc29027a00d29327f5f67b by Gilles Caulier. Committed on 05/08/2014 at 14:31. Pushed by cgilles into branch 'master'. fix OpenCV components reqired to compile fine under Fedora and Debian. M +1 -1 CMakeLists.txt http://commits.kde.org/libkface/446acbc7a54b5fa7c5cc29027a00d29327f5f67b Git commit 7a5970f930b1063a093fece3f8abdfb37078d49d by Gilles Caulier. Committed on 05/08/2014 at 14:31. Pushed by cgilles into branch 'master'. fix OpenCV components reqired to compile fine under Fedora and Debian. FIXED-IN: 4.3.0 M +1 -1 CMakeLists.txt M +1 -1 README http://commits.kde.org/kipi-plugins/7a5970f930b1063a093fece3f8abdfb37078d49d Now compiled fine in Fedora. Thanks. |