当前位置:网站首页>蓝桥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。
升级完成,需要配置参考对应文档即可。
边栏推荐
猜你喜欢
随机推荐
NPM - Cannot read properties of null (reading 'pickAlgorithm') 解决方案
关于“算力”,这篇文章值得一看
String compression (3) short string compression
cmake record
Allwinner V853 development board transplants LVGL-based 2048 games
cmake tips record
h5开容器,新页面返回遇到的问题
自助服务知识库是什么?
网页分析和一些基础题目
Go+:首个顺应 “三位一体” 发展潮流的编程语言
mysql按月查询统计(统计近12个月的项目个数)
LeetCode-101. Symmetric Tree
软件配置 | pip下载第三方库文件及配置pip源的不完全总结
企业如何开展ERP数据治理工作?_光点科技
5G NR MIB Detailed Explanation
一文带你了解 HONOR Connect
【每日一题】【leetcode】25. 数组-旋转数组的最小数字
MySQL command line export import database
面了个腾讯25k+出来的,他让我见识到什么基础的天花板
简述 Mock 接口测试