Skip to content

Instantly share code, notes, and snippets.

@asajeffrey
Created January 27, 2020 17:37
Show Gist options
  • Save asajeffrey/d299e3ae52607337661895c59120423a to your computer and use it in GitHub Desktop.
Save asajeffrey/d299e3ae52607337661895c59120423a to your computer and use it in GitHub Desktop.
error: failed to run custom build command for `heartbeats-simple-sys v0.4.1`
Caused by:
process didn't exit successfully: `C:\Users\ajeffrey\github\asajeffrey\servo\target\debug\build\heartbeats-simple-sys-20b4366d55a4b38d\build-script-build` (exit code: 101)
--- stdout
running: "cmake" "C:\\Users\\ajeffrey\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\heartbeats-simple-sys-0.4.1/heartbeats-simple" "-G" "Visual Studio 15 2017" "-Thost=x64" "-Ax64" "-DCMAKE_INSTALL_PREFIX=C:\\Users\\ajeffrey\\github\\asajeffrey\\servo\\target\\debug\\build\\heartbeats-simple-sys-e818209c94be8c6e\\out" "-DCMAKE_C_FLAGS= -nologo -MD -Brepro -m64" "-DCMAKE_C_FLAGS_DEBUG= -nologo -MD -Brepro -m64" "-DCMAKE_CXX_FLAGS= -nologo -MD -Brepro -m64" "-DCMAKE_CXX_FLAGS_DEBUG= -nologo -MD -Brepro -m64" "-DCMAKE_BUILD_TYPE=Debug"
-- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.18362.
-- Configuring incomplete, errors occurred!
See also "C:/Users/ajeffrey/github/asajeffrey/servo/target/debug/build/heartbeats-simple-sys-e818209c94be8c6e/out/build/CMakeFiles/CMakeOutput.log".
--- stderr
CMake Error at CMakeLists.txt:3 (project):
Failed to run MSBuild command:
C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/MSBuild/15.0/Bin/MSBuild.exe
to get the value of VCTargetsPath:
Microsoft (R) Build Engine version 15.9.21+g9802d43bc3 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
Build started 1/27/2020 11:35:38 AM.
Project "C:\Users\ajeffrey\github\asajeffrey\servo\target\debug\build\heartbeats-simple-sys-e818209c94be8c6e\out\build\CMakeFiles\3.14.3\VCTargetsPath.vcxproj" on node 1 (default targets).
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\VC\VCTargets\Microsoft.Cpp.Current.targets(108,3): error MSB4019: The imported project "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\VC\VCTargets\Platforms\x64\Platform.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. [C:\Users\ajeffrey\github\asajeffrey\servo\target\debug\build\heartbeats-simple-sys-e818209c94be8c6e\out\build\CMakeFiles\3.14.3\VCTargetsPath.vcxproj]
Done Building Project "C:\Users\ajeffrey\github\asajeffrey\servo\target\debug\build\heartbeats-simple-sys-e818209c94be8c6e\out\build\CMakeFiles\3.14.3\VCTargetsPath.vcxproj" (default targets) -- FAILED.
Build FAILED.
"C:\Users\ajeffrey\github\asajeffrey\servo\target\debug\build\heartbeats-simple-sys-e818209c94be8c6e\out\build\CMakeFiles\3.14.3\VCTargetsPath.vcxproj" (default target) (1) ->
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\VC\VCTargets\Microsoft.Cpp.Current.targets(108,3): error MSB4019: The imported project "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\VC\VCTargets\Platforms\x64\Platform.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. [C:\Users\ajeffrey\github\asajeffrey\servo\target\debug\build\heartbeats-simple-sys-e818209c94be8c6e\out\build\CMakeFiles\3.14.3\VCTargetsPath.vcxproj]
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:00.06
Exit code: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment