CMake问题:The CXX compiler identification is unknown

CMake问题:The CXX compiler identification is unknown

 

CMake version: 3.7.0rc1 or high

Visual Studio 2015

 

Error detailed:

The C compiler identification is unknown

The CXX compiler identification is unknown

CMake Error at CMakeLists.txt:4 (PROJECT):

No CMAKE_C_COMPILER could be found.

 

CMake Error at CMakeLists.txt:4 (PROJECT):

No CMAKE_CXX_COMPILER could be found.

 

  1. 背景:

出现CMake的这个错误背景是我从Visual Studio 2017降到Visual Studio 2015后需要将dlib和opencv等相关库重新编译以生成相应的库文件,所以在安装完成Visual Studio 2015后,我用CMake用Visual Studio 2015重新建立dlib和opencv的工程文件,在建立的过程中出现以上的错误。

你可能感兴趣的:(人工智能)