从Windows上的源代码编译Doxygen

时间:2016-07-05 04:33:51

标签: visual-studio-2012 compilation cmake doxygen doxygen-wizard

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

enter image description here 它在寻找编译器吗?但是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

1 个答案:

答案 0 :(得分:0)

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