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
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
Without this patch I couldn't build digiKam 2.6-rc on Kubuntu Precise Pangolin.
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
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