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
This commit is contained in:
Peter Braden 2015-09-22 11:24:40 -04:00
parent 6df08451b5
commit cbaff9a133

View File

@ -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 <nan.h>