No CMAKE_CXX_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable “CXX” or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.
解决方法:
sudo apt-get update
sudo apt-get install -y build-essential
本文介绍了解决CMake配置过程中找不到C++编译器的问题。通过更新软件包列表并安装必要的编译工具,可以确保CMake正确识别C++编译器。
4万+

被折叠的 条评论
为什么被折叠?



