網絡上也沒有一個特別的說明解決方法和方案 :
INFO: ============================================================
'"E:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\..\..\VC\vcvarsall.bat"' 不是內部或外部命令,也不是可運行的程序
或批處理文件。
CMake Error at CMakeLists.txt:18 (project):
Failed to run MSBuild command:
C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe
to get the value of VCTargetsPath:
Microsoft (R) 生成引擎版本 14.0.25420.1
版權所有(C) Microsoft Corporation。保留所有權利。
生成啟動時間為 2019/2/27 11:18:13。
節點 1 上的項目“E:\Mycaffe\caffe-windows\scripts\build\CMakeFiles\3.13.3\VCTargetsPath.vcxproj”(默認目標)。
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\x64\PlatformToolsets\v140\Toolset.targets(36,5): error MSB8036: The Windows SDK version 8.1 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solution". [E:\Mycaffe\caffe-windows\scripts\build\CMakeFiles\3.13.3\VCTargetsPath.vcxproj]
已完成生成項目“E:\Mycaffe\caffe-windows\scripts\build\CMakeFiles\3.13.3\VCTargetsPath.vcxproj”(默認目標)的操作 - 失敗。
生成失敗。
“E:\Mycaffe\caffe-windows\scripts\build\CMakeFiles\3.13.3\VCTargetsPath.vcxproj”(默認目標) (1) ->
(Desktop_PlatformPrepareForBuild 目標) ->
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\x64\PlatformToolsets\v140\Toolset.targets(36,5): error MSB8036: The Windows SDK version 8.1 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solution". [E:\Mycaffe\caffe-windows\scripts\build\CMakeFiles\3.13.3\VCTargetsPath.vcxproj]
0 個警告
1 個錯誤
已用時間 00:00:00.53
Exit code: 1
-- Configuring incomplete, errors occurred!
See also "E:/Mycaffe/caffe-windows/scripts/build/CMakeFiles/CMakeOutput.log".
ERROR: Configure failed
E:\Mycaffe\caffe-windows\scripts>
