当前位置:网站首页>蓝桥ROS之 cmake gcc g++ 默认版本和升级
蓝桥ROS之 cmake gcc g++ 默认版本和升级
2022-08-10 15:58:00 【zhangrelay】
蓝桥ROS共有14.04/16.04/18.04三个版本。
16.04的ESM到2026年
以16.04为例:
默认版本如下:
shiyanlou:~/ $ cmake --version [22:47:26] cmake version 3.5.1
CMake suite maintained and supported by Kitware (kitware.com/cmake). shiyanlou:~/ $ gcc --version [22:47:45] gcc (Ubuntu 5.4.0-6ubuntu1~16.04.9) 5.4.0 20160609 Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
shiyanlou:~/ $ g++ --version [22:47:54] g++ (Ubuntu 5.4.0-6ubuntu1~16.04.9) 5.4.0 20160609 Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
升级过程:
这样经过一系列操作就可以打造出云端C++和ROS机器人全功能学习平台,教程持续更新。
简洁版本过程:
cmake
sudo pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple cmake
已经ok!
gcc 和 g++
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt update
sudo apt g++-9 gcc-9
最高就支持到9.4(ubuntu 16.04版本) 默认是5.4.
装好就行了gcc-9 g++-9。
升级完成,需要配置参考对应文档即可。
边栏推荐
猜你喜欢
随机推荐
redis 源码源文件说明
NPM - Cannot read properties of null (reading 'pickAlgorithm') 解决方案
Spike project harvest
积分可以当钱用,阿里推出个人「碳账户」
Recommend a few had better use the MySQL open source client, collection!
视频转gif怎样操作?1分钟在线视频转gif制作
接口测试中,应不应该用数据库
嵌入式开发:嵌入式基础——使用指针数组映射外设
怎么设计产品手册?用什么设计产品手册?
【21天学习挑战赛】折半查找
Chapter II Module Encyclopedia "collections Module"
异常处理的超详细讲解
拆分整数为2的幂次项和 → 理解多重背包问题二进制优化的核心思想
WinUI 3 Fundamentals 5小时教学视频
超越神经缩放法则:通过数据剪枝
ExceptionInInitializerError
推荐几款最好用的MySQL开源客户端,建议收藏!
不同主机收不到组播消息原因分析
面了个腾讯25k+出来的,他让我见识到什么基础的天花板
快速申请代码签名证书方法









