felixrieseberg / windows-build-tools

:package: Install C++ Build Tools for Windows using npm
MIT License
3.4k stars 237 forks source link

installing caffe #133

Open nitesh0005 opened 6 years ago

nitesh0005 commented 6 years ago

while install caffe i faced this problem, i am installing in windows 10, cpu mode only, visaul stdio 2015 following errors occurs can someone help ?

C:\Users\Nitesh\caffe\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 = 1 INFO: PYTHON_EXE = "python" INFO: RUN_TESTS = 0 INFO: RUN_LINT = 0 INFO: RUN_INSTALL = 0 INFO: ============================================================ '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\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.17134. 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) Build Engine version 14.0.25420.1
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 8/2/2018 1:37:48 PM.
Project "C:\Users\Nitesh\caffe\caffe\build\CMakeFiles\3.12.0\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". [C:\Users\Nitesh\caffe\caffe\build\CMakeFiles\3.12.0\VCTargetsPath.vcxproj]
Done Building Project "C:\Users\Nitesh\caffe\caffe\build\CMakeFiles\3.12.0\VCTargetsPath.vcxproj" (default targets) -- FAILED.

Build FAILED.

"C:\Users\Nitesh\caffe\caffe\build\CMakeFiles\3.12.0\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". [C:\Users\Nitesh\caffe\caffe\build\CMakeFiles\3.12.0\VCTargetsPath.vcxproj]

    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:00.08

Exit code: 1

-- Configuring incomplete, errors occurred! See also "C:/Users/Nitesh/caffe/caffe/build/CMakeFiles/CMakeOutput.log". ERROR: Configure failed