/usr/include/opencv2/core/mat.hpp:58:13: error: ‘Mat’ has not been declared
inline void Mat::initEmpty()
^
/usr/include/opencv2/core/mat.hpp: In function ‘void cv::initEmpty()’:
/usr/include/opencv2/core/mat.hpp:60:5: error: ‘flags’ was not declared in this scope
flags = MAGIC_VAL;
^
/usr/include/opencv2/core/mat.hpp:60:13: error: ‘MAGIC_VAL’ was not declared in this scope
flags = MAGIC_VAL;
^
/usr/include/opencv2/core/mat.hpp:61:5: error: ‘dims’ was not declared in this scope
dims = rows = cols = 0;
^
/usr/include/opencv2/core/mat.hpp:61:12: error: ‘rows’ was not declared in this scope
dims = rows = cols = 0;
^
/usr/include/opencv2/core/mat.hpp:61:19: error: ‘cols’ was not declared in this scope
dims = rows = cols = 0;
^
/usr/include/opencv2/core/mat.hpp:62:5: error: ‘data’ was not declared in this scope
data = datastart = dataend = datalimit = 0;
^
/usr/include/opencv2/core/mat.hpp:62:12: error: ‘datastart’ was not declared in this scope
data = datastart = dataend = datalimit = 0;
^
/usr/include/opencv2/core/mat.hpp:62:24: error: ‘dataend’ was not declared in this scope
data = datastart = dataend = datalimit = 0;
^
/usr/include/opencv2/core/mat.hpp:62:34: error: ‘datalimit’ was not declared in this scope
data = datastart = dataend = datalimit = 0;
^
/usr/include/opencv2/core/mat.hpp:63:5: error: ‘refcount’ was not declared in this scope
refcount = 0;
^
/usr/include/opencv2/core/mat.hpp:64:5: error: ‘allocator’ was not declared in this scope
allocator = 0;
...................................................................................................
CMakeFiles/inferLib.dir/build.make:1347: recipe for target 'CMakeFiles/inferLib.dir/util/loadImage.cpp.o' failed
make[2]: *** [CMakeFiles/inferLib.dir/util/loadImage.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/inferLib.dir/all' failed
make[1]: *** [CMakeFiles/inferLib.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
求助啊,这是什么情况啊,我当初安opencv是用