DCache icon indicating copy to clipboard operation
DCache copied to clipboard

CMake报错

Open cmkcmk181 opened this issue 3 years ago • 2 comments

cmake version 3.10.2 执行cmake时报错: -- The C compiler identification is GNU 7.5.0 -- The CXX compiler identification is unknown -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done CMake Error at CMakeLists.txt:3 (project): 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.

cmkcmk181 avatar May 17 '21 07:05 cmkcmk181

都没有安装gcc ?

ruanshudong avatar Jun 23 '21 08:06 ruanshudong

差了个g++

Pireirik avatar Apr 23 '22 00:04 Pireirik