Skip to content

Commit

Permalink
Make FaceRecognizer require OpenCV <= v2.4.8.
Browse files Browse the repository at this point in the history
For some reason OpenCV shipped a broken branch build on Ubuntu 2.4.2 64
bit.

Thanks to @gluxon for noticing this:
peterbraden#56 (comment)

Rather than try and be clever, I'm just gonna up the version
requirements.

This fixes peterbraden#56 peterbraden#41 peterbraden#105 peterbraden#240 and peterbraden#275
  • Loading branch information
peterbraden committed Sep 22, 2015
1 parent 6df0845 commit cbaff9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FaceRecognizer.cc
Original file line number Diff line number Diff line change
@@ -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>
Expand Down

0 comments on commit cbaff9a

Please sign in to comment.