0

我正在从源代码中编译窗口上的 doxygen,并且我遵循了这个链接 - > http://www.doxygen.nl/manual/install.html#install_src_windows。我已经完成了安装的必要要求,但是当我运行此命令时,我在根文件夹中收到此错误:cmake -G "Visual Studio 12 2013"

在此处输入图像描述 它在寻找编译器吗?但是 basicclr.exe 已经存在

CmakeError.log 的内容:

Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler:  
Build flags: 
Id flags: 

The output was:
1
Microsoft (R) Build Engine version 4.0.30319.17929
[Microsoft .NET Framework, version 4.0.30319.18063]
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 7/5/2016 9:53:56 AM.
Project "C:\tools\doxygen-1.8.11\CMakeFiles\3.6.0-rc4\CompilerIdC\CompilerIdC.vcxproj" on node 1 (default targets).
C:\tools\doxygen-1.8.11\CMakeFiles\3.6.0-rc4\CompilerIdC\CompilerIdC.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:\tools\doxygen-1.8.11\CMakeFiles\3.6.0-rc4\CompilerIdC\CompilerIdC.vcxproj" (default targets) -- FAILED.

Build FAILED.

"C:\tools\doxygen-1.8.11\CMakeFiles\3.6.0-rc4\CompilerIdC\CompilerIdC.vcxproj" (default target) (1) ->
  C:\tools\doxygen-1.8.11\CMakeFiles\3.6.0-rc4\CompilerIdC\CompilerIdC.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.06


Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler:  
Build flags: 
Id flags: 

The output was:
1
Microsoft (R) Build Engine version 4.0.30319.17929
[Microsoft .NET Framework, version 4.0.30319.18063]
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 7/5/2016 9:53:56 AM.
Project "C:\tools\doxygen-1.8.11\CMakeFiles\3.6.0-rc4\CompilerIdCXX\CompilerIdCXX.vcxproj" on node 1 (default targets).
C:\tools\doxygen-1.8.11\CMakeFiles\3.6.0-rc4\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:\tools\doxygen-1.8.11\CMakeFiles\3.6.0-rc4\CompilerIdCXX\CompilerIdCXX.vcxproj" (default targets) -- FAILED.

Build FAILED.

"C:\tools\doxygen-1.8.11\CMakeFiles\3.6.0-rc4\CompilerIdCXX\CompilerIdCXX.vcxproj" (default target) (1) ->
  C:\tools\doxygen-1.8.11\CMakeFiles\3.6.0-rc4\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.05


Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler:  
Build flags: 
Id flags: 

The output was:
1
Microsoft (R) Build Engine version 4.0.30319.17929
[Microsoft .NET Framework, version 4.0.30319.18063]
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 7/5/2016 9:54:53 AM.
Project "C:\tools\doxygen-1.8.11\CMakeFiles\3.6.0-rc4\CompilerIdC\CompilerIdC.vcxproj" on node 1 (default targets).
C:\tools\doxygen-1.8.11\CMakeFiles\3.6.0-rc4\CompilerIdC\CompilerIdC.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:\tools\doxygen-1.8.11\CMakeFiles\3.6.0-rc4\CompilerIdC\CompilerIdC.vcxproj" (default targets) -- FAILED.

Build FAILED.

"C:\tools\doxygen-1.8.11\CMakeFiles\3.6.0-rc4\CompilerIdC\CompilerIdC.vcxproj" (default target) (1) ->
  C:\tools\doxygen-1.8.11\CMakeFiles\3.6.0-rc4\CompilerIdC\CompilerIdC.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.04


Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler:  
Build flags: 
Id flags: 

The output was:
1
Microsoft (R) Build Engine version 4.0.30319.17929
[Microsoft .NET Framework, version 4.0.30319.18063]
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 7/5/2016 9:54:54 AM.
Project "C:\tools\doxygen-1.8.11\CMakeFiles\3.6.0-rc4\CompilerIdCXX\CompilerIdCXX.vcxproj" on node 1 (default targets).
C:\tools\doxygen-1.8.11\CMakeFiles\3.6.0-rc4\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:\tools\doxygen-1.8.11\CMakeFiles\3.6.0-rc4\CompilerIdCXX\CompilerIdCXX.vcxproj" (default targets) -- FAILED.

Build FAILED.

"C:\tools\doxygen-1.8.11\CMakeFiles\3.6.0-rc4\CompilerIdCXX\CompilerIdCXX.vcxproj" (default target) (1) ->
  C:\tools\doxygen-1.8.11\CMakeFiles\3.6.0-rc4\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.04

CMakeOutput.log 是:

The system is: Windows - 6.1.7601 - AMD64
4

1 回答 1

0

您是否使用过 Visual Studio 中“工具”菜单中的“Visual Studio 命令提示符”?普通的命令窗口不起作用。

于 2016-07-07T22:55:35.537 回答