错误使用函数mexopencv.make

时间:2015-11-30 02:45:30

标签: matlab opencv

我在matlab中尝试使用opencv时遇到了这个错误。有谁知道如何解决它?

Error using mex
mexopencv_features2d.cpp
c:\mexopencv-master\mexopencv-master\include\mexopencv.hpp(88) : error C2039: 'DIST_USER' : is not a member of 'cv'
c:\mexopencv-master\mexopencv-master\include\mexopencv.hpp(88) : error C2065: 'DIST_USER' : undeclared identifier
c:\mexopencv-master\mexopencv-master\include\mexopencv.hpp(89) : error C2039: 'DIST_L1' : is not a member of 'cv'
...
C:\mexopencv-master\mexopencv-master\include\mexopencv_features2d.hpp(78) : error C2039: 'AGAST_7_12d' : is not a member of
'cv'
C:\mexopencv-master\mexopencv-master\include\mexopencv_features2d.hpp(78) : fatal error C1003: error count exceeds 100;
stopping compilation



Error in mexopencv.make (line 153)
        if ~opts.dryrun, eval(cmd); end

0 个答案:

没有答案