@georgeprofenza wrote:
I am trying ofxCv on my new Raspberry PI2 and I seem to run into a few errors:
In file included from ../../../addons/ofxCv/src/ofxCv.h:10:0, from ../../../addons/ofxCv/libs/ofxCv/include/ofxCv/Calibration.h:22, from ../../../addons/ofxCv/libs/ofxCv/src/Calibration.cpp:1: ../../../addons/ofxCv/libs/ofxCv/include/ofxCv/Wrappers.h: In function ‘void ofxCv::copyGray(S&, D&)’: ../../../addons/ofxCv/libs/ofxCv/include/ofxCv/Wrappers.h:196:36: error: ‘CV_RGBA2GRAY’ was not declared in this scope ../../../addons/ofxCv/libs/ofxCv/include/ofxCv/Wrappers.h:198:36: error: ‘CV_RGB2GRAY’ was not declared in this scope In file included from ../../../addons/ofxCv/src/ofxCv.h:23:0, ../../../addons/ofxCv/libs/ofxCv/src/Calibration.cpp: In member function ‘bool ofxCv::Calibration::findBoard(cv::Mat, std::vector<cv::Point_<float> >&, bool)’: ../../../addons/ofxCv/libs/ofxCv/src/Calibration.cpp:180:21: error: ‘CV_CALIB_CB_ADAPTIVE_THRESH’ was not declared in this scope ../../../addons/ofxCv/libs/ofxCv/src/Calibration.cpp:194:83: error: ‘CV_TERMCRIT_EPS’ was not declared in this scope ../../../addons/ofxCv/libs/ofxCv/src/Calibration.cpp:194:101: error: ‘CV_TERMCRIT_ITER’ was not declared in this scope ../../../addons/ofxCv/libs/ofxCv/src/Calibration.cpp: In member function ‘void ofxCv::Calibration::updateReprojectionError()’: ../../../addons/ofxCv/libs/ofxCv/src/Calibration.cpp:427:62: error: ‘CV_L2’ was not declared in this scope
Maybe they're armv7 related, I didn't have any issues on armv6 RPi
What should I do to resolve these errors ?
Posts: 1
Participants: 1