编译项目报错
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 程序编译运行成功

本文讲述了在编译PCL项目时遇到的`pcl::console::print` undefined reference错误,并提供了解决方法,包括添加缺失库到.pro文件和修复库路径。后续内容介绍了如何处理运行时的`fcl.so.0.7:no such file or directory`错误,通过更新系统库目录确保正确加载新安装的库。
1127

被折叠的 条评论
为什么被折叠?



