您当前的位置: 首页 > 

柳鲲鹏

暂无认证

  • 0浏览

    0关注

    4642博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

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

柳鲲鹏 发布时间:2020-01-20 13:54:54 ,浏览量:0

错误类似:

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

 

关注
打赏
1665724893
查看更多评论
立即登录/注册

微信扫码登录

0.0519s