玩转树莓派之ROS下更新boost库
来源:互联网 发布:你快乐所以我快乐 知乎 编辑:程序博客网 时间:2024/06/08 08:40
1. 首先你需要下载boost的源码,下载完成解压
2. 打开终端,进入到解压目录, 执行以下命令对boost进行编译
localhost: ~username$ ./bootstrap.sh —prefix=/usr
localhost: ~username$ ./b2 -j2
3. 安装boost库
localhost: ~username$ sudo ./bjam install
4. 由于是在已安装ros环境下更新boost库,所以更新之后需要重新编译ros,重新安装ros之前需要删除旧的:
localhost: ~username$ sudo rm -rf /opt/ros/*
5. 最后一步就是进入到ros_ws安装源码目录重新安装ros了
localhost: ~username$ ./src/catkin/bin/catkin_make_isolated –install
-DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/opt/ros/kinetic -j2
安装完成之后可以执行ros的一些命令检查是否安装成功
阅读全文
0 0
- 玩转树莓派之ROS下更新boost库
- 更新boost库
- ROS与boost::bind( )
- ROS与boost::bind( )
- boost库之format
- boost库之date
- boost库之scoped_ptr
- boost库之scoped_array
- boost库之shared_ptr
- boost库之Random
- boost库之shared_ptr
- Boost之Smart_ptr库
- boost库之geometry
- boost库之function
- boost库之uuid
- boost库之program_options
- Boost库之Program_options
- boost库之单例类
- org_organization_definitions 表介绍
- FFmpeg任意文件读取漏洞分析
- 04:垂直直方图
- vue打包后样式会变化
- Nginx反向代理and负载均衡实例详解
- 玩转树莓派之ROS下更新boost库
- Citavi、Endnote、Mendeley 功能大比拼!到底哪一款才是众望所归的终极文献管理软件?
- mysql 指令
- JNI C创建Java字符串数组
- ionic3(二)登录页制作
- A Serial Killer
- Problems & Solutions -- 4
- QEMU和KVM 中断处理过程
- 实现c中memcpy函数