CV_EXPORTS_W定义在modules/core/include/opencv2/core/types_c.h作为CV_EXPORTS别名,并在同一文件CV_EXPORTS被定义为:if (defined WIN32 || defined _WIN32 || defined WINCE) && defined CVAPI_EXPORTS define CV_EXPORTS __declspec(dllexport)else define CV_EXPORTS endif 换句话说,它的别名使...