ubuntu cmake 报找不到CMAKE_CXX_COMPILER 的错误

错误如下

CMake Error in CMakeLists.txt:

  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.

 

安装g++和gcc 试试

 

您的支持,是我持续创作的动力!!!!

 

©️2020 CSDN 皮肤主题: 技术黑板 设计师:CSDN官方博客 返回首页