Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) |
![]() |
![]() |
#1 |
初级会员
注册日期: 2010-09-02
年龄: 38
帖子: 4
声望力: 0 ![]() |
![]()
mex程序中需要利用opencv的kmeans算法。但是在 mex cpp文件时,出现的问题是:
e:\mexfiles\cxcore.h(47) : error C2470: 'CvImage' : looks like a function definition, but there is no parameter list; skipping apparent body e:\mexfiles\cxcore.h(211) : error C2470: 'CvMatrix' : looks like a function definition, but there is no parameter list; skipping apparent body e:\mexfiles\cxcore.h(354) : warning C4099: 'CV_EXPORTS' : type name first seen using 'class' now seen using 'struct' e:\mexfiles\cxcore.h(47) : see declaration of 'CV_EXPORTS' e:\mexfiles\cxcore.h(354) : error C2470: 'CvModule' : looks like a function definition, but there is no parameter list; skipping apparent body e:\mexfiles\cxcore.h(364) : warning C4099: 'CV_EXPORTS' : type name first seen using 'class' now seen using 'struct' e:\mexfiles\cxcore.h(47) : see declaration of 'CV_EXPORTS' e:\mexfiles\cxcore.h(364) : error C2470: 'CvType' : looks like a function definition, but there is no parameter list; skipping apparent body e:\mexfiles\cv.h(59) : fatal error C1083: Cannot open include file: 'cvtypes.h': No such file or directo 请前辈帮忙看下!谢谢! |
![]() |
![]() |