赞
踩
在导入cmakelist之后运行功能包出现找不到动态链接库
error while loading shared libraries: libxmlrpcpp.so: cannot open shared object file: No such file or directory
error while loading shared libraries: librosconsole_log4cxx.so: cannot open shared object file: No such file or directory
Qt只加载了其包含的一个库,没有将ros里边相关的库包含进去
sudo apt install libxmlrpcpp-dev
vi /etc/ld.so.conf
include ld.so.conf.d/*.conf
下边换行添加/usr/local/lib
和opt/ros/melodic/lib
/sbin/ldconfig -v
ldconfig
之后就可以重新导入Cmakelist文件进行运行
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。