0

ソースからウィンドウ上のdoxygenをコンパイルしており、このリンクをたどっています - >https://www.stack.nl/~dimitri/doxygen/manual/install.html#install_src_windows。 私はインストールに必要な要件を行っているが、私は、このコマンドを実行するこれまでのときに私はルートフォルダにこのエラーが表示されます。 cmakeのの-G「のVisual Studio 12 2013」WindowsのソースからDoxygenをコンパイルする

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 
+0

CMakeは、お使いのマシン上で要求されたVisual Studioのバージョンを検出できません。これは、Visual Studioを正しくインストールしなかったか、または後でインストールが中断したことを示しています。 Visual Studioのインストーラから '修復'オプションを試し、問題が解決するかどうかを確認してください。 Visual StudioはC++言語サポートなしでインストールできます。ネイティブのWin32 C++アプリケーションをコンパイルするために必要なすべてのコンポーネントがインストールされていることを確認してください。 – ComicSansMS

+0

これを検出する他のテストはありますか?同じVSを使用して、現在は製造時に使用されている多くのアプリケーションを開発しています。パス設定がありますか? – Raulp

+0

CMakeは新しく正しくインストールされたVSですぐに動作します。それがあなたのために働かないなら、何かがCMakeかVSのいずれかのインストールに間違っていることを意味します。 StackOverflowを介して_something_が何であるかを判断することは、私たちにとって非常に面倒です。私はすでにこの問題の最も一般的な原因を(私の経験上)修正する方法についていくつかのヒントを与えました。 – ComicSansMS

答えて

0

Visual Studio内の[ツール]メニューの[Visual Studioコマンドプロンプト]を使用しましたか?普通のコマンドウィンドウは機能しません。

+0

Visual Studioのコマンドプロンプトを使用しました。 – Raulp

+0

あなたは 'mkdir build;で樹木外のビルドを使ってみましたか? cdビルド; cmake -G "Visual Studio 12 2013" .. " –

関連する問題