با سلام. در مرحله کامپایل کفی با خطای زیر روبه رو شدم مشکل کجاست؟
Microsoft Windows [Version 10.0.17133.1]
(c) 2018 Microsoft Corporation. All rights reserved.
F:\caffe\Caffe_1.0_Windows-master>scripts\build_win
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 = All
INFO: CMAKE_CONFIG = Release
INFO: USE_NCCL = 0
INFO: CMAKE_BUILD_SHARED_LIBS = 0
INFO: PYTHON_VERSION = 3.5
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 = 1
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.17133.
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 21/10/1399 01:28:40 ب.ظ.
Project "F:\caffe\Caffe_1.0_Windows-master\build\CMakeFiles\3.17.1\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". [F:\caffe\Caffe_1.0_Windows-master\build\CMakeFiles\3.17.1\VCTargetsPath.vcxproj]
Done Building Project "F:\caffe\Caffe_1.0_Windows-master\build\CMakeFiles\3.17.1\VCTargetsPath.vcxproj" (default targets) -- FAILED.
Build FAILED.
"F:\caffe\Caffe_1.0_Windows-master\build\CMakeFiles\3.17.1\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". [F:\caffe\Caffe_1.0_Windows-master\build\CMakeFiles\3.17.1\VCTargetsPath.vcxproj]
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:00.09
Exit code: 1
-- Configuring incomplete, errors occurred!
See also "F:/caffe/Caffe_1.0_Windows-master/build/CMakeFiles/CMakeOutput.log".
ERROR: Configure failed
مشخصات فایل های نصب شده cmake 3.17.1 , visual studio 2015
درضمن با اینکه در هنگام نصب cmake تیک مربوط به اضافه کردن مسیر رو زدم اما از طریق cmd اجرا نمیشه و اخطار زیر رو میده!
C:\Users\sadra>cmake.exe
Usage
cmake [options] <path-to-source>
cmake [options] <path-to-existing-build>
cmake [options] -S <path-to-source> -B <path-to-build>
Specify a source directory to (re-)generate a build system for it in the
current working directory. Specify an existing build directory to
re-generate its build system.
Run 'cmake --help' for more information.