(2)melodic编译相关程序

这篇博客详细记录了在ROS Melodic中编译遇到的一系列问题及解决方案,包括找不到uuid_msgs、SDL、libuvc、orocos-bfl等包的配置文件,以及serial、tf2_sensor_msgs、move_base_msgs、costmap_converter、mbf_costmap_core、mbf_msgs、SuiteSparse、libg2o和async_web_server_cpp等依赖的缺失问题,提供了相应的解决步骤和安装命令。

1/创建工作空间

mkdir -p ~/wheeltec/src
mkdir -p ~/chenrobot/src
cd ~/chenrobot/src
catkin_init_workspace
cd ..        //返回上一级路径src中去

2/编译

(1)将相应文件放进去

(2)编译操作

export ROS_PYTHON_VERSION=3

catkin_make_isolated -j2  -DPYTHON_EXECUTABLE=/usr/bin/python3

或则

catkin_make -j2  -DPYTHON_EXECUTABLE=/usr/bin/python3

参考

catkin_make -j2  -DPYTHON_EXECUTABLE=/usr/bin/python3   //-j4

3/相关错误处理

(1)bug1
Could not find a package configuration file provided by "uuid_msgs" with
jiejue:下载后放入src

git clone https://github.com/ros-geographic-info/unique_identifier.git

(2)bug2
 Could NOT find SDL (missing: SDL_LIBRARY SDL_INCLUDE_DIR)
jiejue:

sudo apt-get install libsdl1.2-dev

继续报错:Could NOT find SDL_image (missing:SDL_IMAGE_LIBRA

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值