Bug 288462 - Issues building with highgui [patch]
Summary: Issues building with highgui [patch]
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Faces-RedEyes (show other bugs)
Version: 2.3.0
Platform: Debian unstable Linux
: NOR minor
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-08 09:52 UTC by Mark Purcell
Modified: 2016-08-18 15:08 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 2.6.0


Attachments
Alternative location for highgui (1.81 KB, patch)
2011-12-08 09:52 UTC, Mark Purcell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Purcell 2011-12-08 09:52:33 UTC
Created attachment 66495 [details]
Alternative location for highgui

Version:           2.3.0 (using KDE 4.7.3) 
OS:                Linux

digikam source assumes location for highgui includes

Reproducible: Always

Steps to Reproduce:
compile from source


Expected Results:  
Patch attached for an alternative location for highgui.

Should be a conditional check.

OS: Linux (x86_64) release 3.1.0-1-amd64
Compiler: gcc
Comment 1 caulier.gilles 2011-12-08 09:58:09 UTC
The patch is not enough. This will not work with older version of OpenCV.

You need to bracket include with preprocessor macro to check OpenCV version

I suspect also that libkface will be affected by these changes...

Gilles Caulier
Comment 2 Dominic Lyons 2012-05-06 16:09:23 UTC
Without this patch I couldn't build digiKam 2.6-rc on Kubuntu Precise Pangolin.
Comment 3 caulier.gilles 2012-05-06 20:13:12 UTC
Git commit 26c9d45608c2eca1a5e0578763165e9dfe56acf4 by Gilles Caulier.
Committed on 06/05/2012 at 22:12.
Pushed by cgilles into branch 'master'.

apply patch #66495

M  +1    -1    removeredeyes/detection/locators/haarclassifier/haarclassifierlocator.h

http://commits.kde.org/kipi-plugins/26c9d45608c2eca1a5e0578763165e9dfe56acf4
Comment 4 caulier.gilles 2012-05-06 20:13:48 UTC
Git commit 31296ec49d531b7e53fce7de72b03106ad54c4e6 by Gilles Caulier.
Committed on 06/05/2012 at 22:13.
Pushed by cgilles into branch 'master'.

apply patch #66495

M  +1    -1    libface/FaceDetect.cpp
M  +1    -1    libface/Haarcascades.cpp
M  +1    -1    libface/LibFaceUtils.h
M  +1    -1    libkface/image.cpp
M  +1    -1    libkface/kfaceutils.cpp

http://commits.kde.org/libkface/31296ec49d531b7e53fce7de72b03106ad54c4e6