[Digikam-devel] [digikam] [Bug 349601] digikam compile fine with OpenCV 2.X but not with 3.x

Viktor Jancik vjancik at redhat.com
Wed Aug 19 06:29:31 BST 2015


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

Viktor Jancik <vjancik at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #94096|0                           |1
        is obsolete|                            |

--- Comment #21 from Viktor Jancik <vjancik at redhat.com> ---
Created attachment 94108
  --> https://bugs.kde.org/attachment.cgi?id=94108&action=edit
libkface-15.04.2-opencv3.patch

I messed up. After better inspection, OpenCV_SHARED is a boolean variable,
which is used inside the Config script as an identifier whether OpenCV was
build as a shared library or static. So it has nothing to do with the shared
files path.

I found no other CMake variable pointing to the shared directory so I hardcoded
the path for now. Both OpenCV 2.4 and OpenCV 3 put haarcascades in this folder
on Fedora.

It should definitely find them now. Does that fix the issue?

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



More information about the Digikam-devel mailing list