How to use ofxCv with OF 0.9.8 on msys 2

Hi,

I’m trying to compile a example-face from ofxCv (stable branch) but I’m running into compile errors:

In file included from C:/Users/George/Documents/of_v0.9.8_msys2_release/libs/openFr   ameworks/ofMain.h:39:0,
                 from C:/Users/George/Documents/of_v0.9.8_msys2_release/addons/ofxC   v/example-face/src/ofApp.h:3,
                 from C:/Users/George/Documents/of_v0.9.8_msys2_release/addons/ofxC   v/example-face/src/main.cpp:1:
C:/Users/George/Documents/of_v0.9.8_msys2_release/libs/openFrameworks/communication   /ofArduino.h:62:57: error: expected identifier before numeric constant
 #define SHIFT                                           0x05 // shiftIn/shiftOut m   ode
                                                         ^
C:/Users/George/Documents/of_v0.9.8_msys2_release/libs/openFrameworks/communication   /ofArduino.h:62:57: error: expected '}' before numeric constant
C:/Users/George/Documents/of_v0.9.8_msys2_release/libs/openFrameworks/communication   /ofArduino.h:62:57: error: expected unqualified-id before numeric constant
In file included from C:/msys64/mingw32/include/opencv2/viz.hpp:49:0,
                 from C:/msys64/mingw32/include/opencv2/opencv.hpp:101,
                 from C:/Users/George/Documents/of_v0.9.8_msys2_release/addons/ofxC   v/src/ofxCv.h:4,
                 from C:/Users/George/Documents/of_v0.9.8_msys2_release/addons/ofxC   v/example-face/src/ofApp.h:4,
                 from C:/Users/George/Documents/of_v0.9.8_msys2_release/addons/ofxC   v/example-face/src/main.cpp:1:
C:/msys64/mingw32/include/opencv2/viz/types.hpp:237:34: error: expected ')' before    'action'
             KeyboardEvent(Action action, const String& symbol, unsigned char code,    int modifiers);
                                  ^~~~~~
C:/msys64/mingw32/include/opencv2/viz/types.hpp:273:1: error: expected declaration    before '}' token
 } /* namespace cv */
 ^
In file included from C:/Users/George/Documents/of_v0.9.8_msys2_release/libs/openFr   ameworks/ofMain.h:39:0,
                 from C:/Users/George/Documents/of_v0.9.8_msys2_release/addons/ofxC   v/example-face/src/ofApp.h:3,
                 from C:/Users/George/Documents/of_v0.9.8_msys2_release/addons/ofxC   v/example-face/src/ofApp.cpp:1:
C:/Users/George/Documents/of_v0.9.8_msys2_release/libs/openFrameworks/communication   /ofArduino.h:62:57: error: expected identifier before numeric constant
 #define SHIFT                                           0x05 // shiftIn/shiftOut m   ode
                                                         ^
C:/Users/George/Documents/of_v0.9.8_msys2_release/libs/openFrameworks/communication   /ofArduino.h:62:57: error: expected '}' before numeric constant
C:/Users/George/Documents/of_v0.9.8_msys2_release/libs/openFrameworks/communication   /ofArduino.h:62:57: error: expected unqualified-id before numeric constant
In file included from C:/msys64/mingw32/include/opencv2/viz.hpp:49:0,
                 from C:/msys64/mingw32/include/opencv2/opencv.hpp:101,
                 from C:/Users/George/Documents/of_v0.9.8_msys2_release/addons/ofxC   v/src/ofxCv.h:4,
                 from C:/Users/George/Documents/of_v0.9.8_msys2_release/addons/ofxC   v/example-face/src/ofApp.h:4,
                 from C:/Users/George/Documents/of_v0.9.8_msys2_release/addons/ofxC   v/example-face/src/ofApp.cpp:1:
C:/msys64/mingw32/include/opencv2/viz/types.hpp:237:34: error: expected ')' before    'action'
             KeyboardEvent(Action action, const String& symbol, unsigned char code,    int modifiers);
                                  ^~~~~~
C:/msys64/mingw32/include/opencv2/viz/types.hpp:273:1: error: expected declaration    before '}' token
 } /* namespace cv */

I’ve used the same addon on OSX and Linux before and I didn’t expect these errors on Windows.
It’s confusing why it references ofArduino.h for example.

Any tips on how I can compile ofxCv ?

Thank you,
George