PCL错误代码
错误提示如下
undefined reference to `pcl::console::print(pcl::console::VERBOSITY_LEVEL, char const*, ...)'
这种错误一般是CMakeLists文件没有编写好。

解决办法
确保PCL库所有设置已经完整配置
我只需要在CMakeLists中添加
target_link_libraries(dev_detect
${
PCL_COMMON_LIBRARIES} ${
PCL_IO_LIBRARIES} ${
PCL_LIBRAR