VS2019+PCL 1.11.1编译报错C4996 | 您所在的位置:网站首页 › vs c4996错误 › VS2019+PCL 1.11.1编译报错C4996 |
错误 C4996 ‘pcl::visualization::PointCloudColorHandler<pcl::PCLPointCloud2>::getColor‘: use getColor() without parameters instead(It will be removed in PCL 1.12) 解决方法: 方法1(建议此方法):在VS 2019中打开项目的属性管理器->“配置属性”->“C/C++”->“高级”->“禁用特定警告”->“编辑”,添加“4996” (个人理解:编译报错是因为编译器把warning升级为error了,现在把它禁用就好) |
CopyRight 2018-2019 实验室设备网 版权所有 |