执行cmake时出错

时间:2017-04-13 06:22:10

标签: python-3.x cmake dlib

我正在尝试为python 3.5安装dlib库。

    -- The C compiler identification is unknown

    -- The CXX compiler identification is unknown
    CMake Error in CMakeLists.txt:
      No CMAKE_CXX_COMPILER could be found.


    -- Configuration incomplete, error occured!

尝试在dlib中执行cmake后的CMakeError.log的内容:

Build started 13-Apr-17 7:55:06 PM.
Project "C:\Users\AnkitaShinde\AppData\Local\Programs\Python\Python35-32\Lib\dlib\CMakeFiles\3.7.1\CompilerIdCXX\CompilerIdCXX.vcxproj" on node 1 (default targets).
C:\Users\AnkitaShinde\AppData\Local\Programs\Python\Python35-32\Lib\dlib\CMakeFiles\3.7.1\CompilerIdCXX\CompilerIdCXX.vcxproj(18,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
Done Building Project "C:\Users\AnkitaShinde\AppData\Local\Programs\Python\Python35-32\Lib\dlib\CMakeFiles\3.7.1\CompilerIdCXX\CompilerIdCXX.vcxproj" (default targets) -- FAILED.

Build FAILED.

"C:\Users\AnkitaShinde\AppData\Local\Programs\Python\Python35-32\Lib\dlib\CMakeFiles\3.7.1\CompilerIdCXX\CompilerIdCXX.vcxproj" (default target) (1) ->
  C:\Users\AnkitaShinde\AppData\Local\Programs\Python\Python35-32\Lib\dlib\CMakeFiles\3.7.1\CompilerIdCXX\CompilerIdCXX.vcxproj(18,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.

    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:00.02

0 个答案:

没有答案