Microsoft (R) Build Engine version 14.0.25420.1
Copyright (C) Microsoft Corporation. All rights reserved.
Build started 2020/2/5 20:15:35.
Project "E:\bishe\g\caffe\build\CMakeFiles\3.16.3\VCTargetsPath.vcxproj" on node 1 (default targets).
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:\bishe\g\caffe\build\CMakeFiles\3.16.3\VCTargetsPath.vcxproj]
Done Building Project "E:\bishe\g\caffe\build\CMakeFiles\3.16.3\VCTargetsPath.vcxproj" (default targets) -- FAILED.
Build FAILED.
"E:\bishe\g\caffe\build\CMakeFiles\3.16.3\VCTargetsPath.vcxproj" (default target) (1) ->
(Desktop_PlatformPrepareForBuild target) ->
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:\bishe\g\caffe\build\CMakeFiles\3.16.3\VCTargetsPath.vcxproj]
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:00.66
Exit code: 1
-- Configuring incomplete, errors occurred!
See also "E:/bishe/g/caffe/build/CMakeFiles/CMakeOutput.log".
ERROR: Configure failed
Hi all, I'm getting the below error when I'm trying to compile the code - any ideas?
e:\bishe\g\caffe>scripts\build_win.cmd The system cannot find the drive specified. The system cannot find the drive specified. INFO: ============================================================ INFO: Summary: INFO: ============================================================ INFO: MSVC_VERSION = 14 INFO: WITH_NINJA = 0 INFO: CMAKE_GENERATOR = "Visual Studio 14 2015 Win64" INFO: CPU_ONLY = 1 INFO: CUDA_ARCH_NAME = Auto INFO: CMAKE_CONFIG = Release INFO: USE_NCCL = 0 INFO: CMAKE_BUILD_SHARED_LIBS = 0 INFO: PYTHON_VERSION = 3 INFO: BUILD_PYTHON = 1 INFO: BUILD_PYTHON_LAYER = 1 INFO: BUILD_MATLAB = 0 INFO: PYTHON_EXE = "python" INFO: RUN_TESTS = 0 INFO: RUN_LINT = 0 INFO: RUN_INSTALL = 0 INFO: ============================================================ '"E:\visual studio 2015\Common7\Tools....\VC\vcvarsall.bat"' is not recognized as an internal or external command, operable program or batch file. -- Selecting Windows SDK version to target Windows 10.0.18362. CMake Error at CMakeLists.txt:18 (project): Failed to run MSBuild command:
to get the value of VCTargetsPath:
Exit code: 1
-- Configuring incomplete, errors occurred! See also "E:/bishe/g/caffe/build/CMakeFiles/CMakeOutput.log". ERROR: Configure failed