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++编译器的问题,提示可通过设置环境变量“CXX”或CMake缓存项CMAKE_CXX_COMPILER来指定编译器路径,或在编译器在PATH中时指定其名称。还给出了解决方法,即使用sudo apt-get update和sudo apt-get install -y build-essential命令。
4万+

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



