错误 42 error C2589: “(”:“::”右边的非法标记 D:\pcl-1.7\pcl\correspondence.h 70
也许在你的代码里有#defined max
或者你在你的pcl文件头之前定义了windows.h
解决方案:
在你的#include<windows.h>之前使用#define NOMINMAX
或者在#include pcl头文件之前使用#undef max
错误 42 error C2589: “(”:“::”右边的非法标记 D:\pcl-1.7\pcl\correspondence.h 70
也许在你的代码里有#defined max
或者你在你的pcl文件头之前定义了windows.h
解决方案:
在你的#include<windows.h>之前使用#define NOMINMAX
或者在#include pcl头文件之前使用#undef max