编译项目报错
PCL undefined reference to `pcl::console::print(pcl::console::VERBOSITY_LEVEL, char const*, …)
遇到了同类问题,对pcl 库的引用缺失,根据提示 在 .pro 里面 LIBS+= 需要的库即可编译成功。
运行过程报错
参考以前的文章:error while loading shared library fcl.so.0.7 no such file or directory
原因是系统的库目录里面没有包含上刚安装的pcl 库文件,
sudo /sbin/ldconfig -v //更新系统默认库目录
pcl 程序编译运行成功