blackbird icon indicating copy to clipboard operation
blackbird copied to clipboard

failed to run MSBuild command while installing CMake

Open sripoojatirumani opened this issue 7 years ago • 0 comments

CMake Error at CMakeLists.txt:127 (project): Failed to run MSBuild command:

C:/Windows/Microsoft.NET/Framework/v4.0.30319/MSBuild.exe

to get the value of VCTargetsPath:

Microsoft (R) Build Engine version 4.7.3056.0

[Microsoft .NET Framework, version 4.0.30319.42000]

Copyright (C) Microsoft Corporation. All rights reserved.



Build started 6/7/2018 4:55:52 PM.

Project "F:\opencv\build\CMakeFiles\3.11.3\VCTargetsPath.vcxproj" on node 1 (default targets).

F:\opencv\build\CMakeFiles\3.11.3\VCTargetsPath.vcxproj(14,2): error MSB4019: The imported project "F:\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 "F:\opencv\build\CMakeFiles\3.11.3\VCTargetsPath.vcxproj" (default targets) -- FAILED.



Build FAILED.



"F:\opencv\build\CMakeFiles\3.11.3\VCTargetsPath.vcxproj" (default target) (1) ->

  F:\opencv\build\CMakeFiles\3.11.3\VCTargetsPath.vcxproj(14,2): error MSB4019: The imported project "F:\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.26

Exit code: 1

Configuring incomplete, errors occurred! See also "F:/opencv/build/CMakeFiles/CMakeOutput.log".

sripoojatirumani avatar Jun 07 '18 11:06 sripoojatirumani