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

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++ 。

猜你喜欢

转载自www.cnblogs.com/yyzyxy/p/10212344.html