蓝桥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.
升级过程:
linux手机更新cmake版本
linux手机更新 gcc g++ 版本
linux手机管理多版本gcc和g++
这样经过一系列操作就可以打造出云端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。

升级完成,需要配置参考对应文档即可。










