安装cmake过程出错:Error when bootstrapping CMake: Cannot find a C++ compiler that supports both C++11 and ...

时间:2025-02-16 11:02:26

 

 

 

Error when bootstrapping CMake:
Cannot find a C++ compiler that supports both C++11 and the specified C++ flags.

 

1.没有装gcc 和 g++

2. gcc 或者 g++ 版本过低,需要安装高版本的。升级风险较大,可以采用新的编译环境安装新版本的 gcc和g++ 。