Can't compile ofxCv examples in Arch of nightly build

I’m on Arch Linux and using either the downloadable gcc6 version, github version or AUR nightly build, I always get an error during comiling:

of_v20180511_linux64gcc6_release/addons/ofxOpenCv/src/ofxCvImage.cpp:393:8: error: ‘CV_RGB’ was not declared in this scope
        CV_RGB(color,color,color) );

Has it to do with opencv version? I’d like to use the latest opencv 3.4 (?) if possible.

1 Like

Ok I think I dirty-fixed this by replacing CV_RGB with cv::Scalar in ofxOpenCv’s ofxCvImage.cpp

1 Like