From cbaff9a1336393c35cad3502d36e37e4333a70ed Mon Sep 17 00:00:00 2001 From: Peter Braden Date: Tue, 22 Sep 2015 11:24:40 -0400 Subject: [PATCH] Make FaceRecognizer require OpenCV <= v2.4.8. For some reason OpenCV shipped a broken branch build on Ubuntu 2.4.2 64 bit. Thanks to @gluxon for noticing this: https://github.com/peterbraden/node-opencv/issues/56#issuecomment-20263153 Rather than try and be clever, I'm just gonna up the version requirements. This fixes #56 #41 #105 #240 and #275 --- src/FaceRecognizer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FaceRecognizer.cc b/src/FaceRecognizer.cc index 535a18c5..3814d45f 100644 --- a/src/FaceRecognizer.cc +++ b/src/FaceRecognizer.cc @@ -1,7 +1,7 @@ #include "FaceRecognizer.h" #include "OpenCV.h" -#if ((CV_MAJOR_VERSION >= 2) && (CV_MINOR_VERSION >=4)) +#if ((CV_MAJOR_VERSION >= 2) && (CV_MINOR_VERSION >=4) && (CV_SUBMINOR_VERSION>=4)) #include "Matrix.h" #include