pcl::PointCloud<pcl::PointWithRange>::mapping_‘: rewrite your code to avoid using this protected fie

错误描述

1>\pcl\range_image\range_image.h(810,4): error C4996: 'pcl::PointCloud<pcl::PointWithRange>::mapping_': rewrite your code to avoid using this protected field (It will be removed in PCL 1.12)

解决方法

项目属性->C/C++->所有选项->SDL检查->否

具体如下图:

解决之后:error会编程warning 

1>\pcl\range_image\range_image.h(810,4): warning C4996: 'pcl::PointCloud<pcl::PointWithRange>::mapping_': rewrite your code to avoid using this protected field (It will be removed in PCL 1.12)

参考:https://www.pianshen.com/article/8983380449/

如此修改的原因说明:https://blog.csdn.net/weixin_44171004/article/details/86675605

猜你喜欢

转载自blog.csdn.net/dbdxnuliba/article/details/113052825