0
点赞
收藏
分享

微信扫一扫

cmake编译出错:No CMAKE_CXX_COMPILER could be found.

49路末班车 2022-01-28 阅读 131


错误类似:

-- The CXX compiler identification is unknown
-- The C compiler identification is GNU 8.3.0
CMake Error at CMakeLists.txt:99 (enable_language):
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 install -y build-essential



举报

相关推荐

0 条评论