win10+ pcl1.8.0+vs2017
pcl 常见错误1:C4996 ‘std::fpos<_Mbstatet>::seekpos’: warning STL4019
错误 C4996 'std::fpos<_Mbstatet>::seekpos': warning STL4019: The member std::fpos::seekpos() is non-Standard, and is preserved only for compatibility with workarounds for old versions of Visual C++. It will be removed in a future release, and in this release always returns 0. Please use standards-conforming mechanisms to manipulate fpos, such as conversions to and from streamoff, or an integral type, instead. If you are receiving this message while compiling Boost.IOStreams, a fix has been submitted upstream to make Boost use standards-conforming mechanisms, as it does for other compilers. You can define _SILENCE_FPOS_SEEKPOS_DEPRECATION_WARNING to acknowledge that you have received this warning, or define _REMOVE_FPOS_SEEKPOS to remove std::fpos::seekpos entirely.
解决方案:你用哪个平台 就将哪个平台的 SDL检查设置成否
例如我用的是 Release x64 具体操作:将属性页 活动(Release x64) -> C/C++ 常规 -> SDL检查 改成否
注意平台的配置
改正之后重新生成解决方案:
编译通过!!!