From 6ea9e4289a88c167526d7cb6fdadadbbfc83e0b8 Mon Sep 17 00:00:00 2001 From: Gilles Caulier Date: Sun, 14 Jan 2018 10:33:56 +0100 Subject: [PATCH] compile and link with opencv 3.4.0 --- libs/facesengine/opencv3-face/face.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/facesengine/opencv3-face/face.hpp b/libs/facesengine/opencv3-face/face.hpp index c91857a195..b051889299 100644 --- a/libs/facesengine/opencv3-face/face.hpp +++ b/libs/facesengine/opencv3-face/face.hpp @@ -48,6 +48,7 @@ the use of this software, even if advised of the possibility of such damage. */ #include "libopencv.h" +#include "digikam_export.h" #include "opencv2/core.hpp" #include "predict_collector.hpp" #include @@ -155,7 +156,7 @@ String name = model->name(); @endcode */ -class CV_EXPORTS_W FaceRecognizer : public Algorithm +class DIGIKAM_DATABASE_EXPORT FaceRecognizer : public Algorithm { public: /** @brief Trains a FaceRecognizer with given data and associated labels.