@cyrstem wrote:
trying to compile the examples i get this issue
home/jacos/OF/libs/glm/include/glm/detail/type_vec4.hpp:19:9: note: ‘glm::i16vec4’ {aka ‘struct glm::tvec4<short int, (glm::precision)0>’} declared here struct tvec4 ^~~~~ In file included from /home/jacos/OF/addons/ofxCv/src/ofxCv.h:10, from /home/jacos/OF/addons/ofxCv/example-blur/src/ofApp.h:4, from /home/jacos/OF/addons/ofxCv/example-blur/src/main.cpp:1: /home/jacos/OF/addons/ofxCv/libs/ofxCv/include/ofxCv/Wrappers.h: In function ‘void ofxCv::copyGray(const S&, D&)’: /home/jacos/OF/addons/ofxCv/libs/ofxCv/include/ofxCv/Wrappers.h:194:36: error: ‘CV_RGBA2GRAY’ was not declared in this scope convertColor(src, dst, CV_RGBA2GRAY); ^~~~~~~~~~~~ /home/jacos/OF/addons/ofxCv/libs/ofxCv/include/ofxCv/Wrappers.h:194:36: note: suggested alternative: ‘GL_RGBA2_EXT’ convertColor(src, dst, CV_RGBA2GRAY); ^~~~~~~~~~~~ GL_RGBA2_EXT /home/jacos/OF/addons/ofxCv/libs/ofxCv/include/ofxCv/Wrappers.h:196:36: error: ‘CV_RGB2GRAY’ was not declared in this scope convertColor(src, dst, CV_RGB2GRAY); ^~~~~~~~~~~ /home/jacos/OF/addons/ofxCv/libs/ofxCv/include/ofxCv/Wrappers.h:196:36: note: suggested alternative: ‘CV_RGB’ convertColor(src, dst, CV_RGB2GRAY); ^~~~~~~~~~~ CV_RGB In file included from /home/jacos/OF/addons/ofxCv/src/ofxCv.h:23, from /home/jacos/OF/addons/ofxCv/example-blur/src/ofApp.h:4, from /home/jacos/OF/addons/ofxCv/example-blur/src/main.cpp:1: /home/jacos/OF/addons/ofxCv/libs/ofxCv/include/ofxCv/Tracker.h: In member function ‘virtual const std::vector<unsigned int>& ofxCv::RectTracker::track(const std::vector<cv::Rect_<int> >&)’: /home/jacos/OF/addons/ofxCv/libs/ofxCv/include/ofxCv/Tracker.h:326:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<unsigned int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] for(int i = 0; i < labels.size(); i++) { ~~^~~~~~~~~~~~~~~ make[1]: *** [/home/jacos/OF/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:217: obj/linux64/Release/src/main.o] Error 1 make[1]: Leaving directory '/home/jacos/OF/addons/ofxCv/example-blur' make: *** [/home/jacos/OF/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:129: Release] Error 2
any idea ??
Posts: 2
Participants: 2