Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMake Error: The source directory "D:/caffe/caffe/build/Toolkit/CUDA/v8.0" does not exist. #6118

Closed
wuheng199112068 opened this issue Dec 19, 2017 · 10 comments

Comments

@wuheng199112068
Copy link

When execute scripts\build_win.cmd,a error happend. How to Solve?

@FinalAgito
Copy link

Check this path Whether it existed.
: )

@FinalAgito
Copy link

This step always try to find the Nivida Tookit in the path, you can check if it have exist or turn off the GPU
option.

@wuheng199112068
Copy link
Author

the path is existed and Nivida Tookit path is also ture.
why it refers to "D:/projects/caffe/build/Toolkit/CUDA/v8.0"? my default cuda path is in C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0? How solve?

@FinalAgito
Copy link

FinalAgito commented Dec 19, 2017

  • Maybe you have set this value in the caffe configuration file, find it and search for this value change to
    “C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0”, then compiled
  • Or, if not this question, you can try to change the Nivida Toolkit default path in your
    Computer environment variables

@wuheng199112068
Copy link
Author

thank!
another error!

-- Selecting Windows SDK version to target Windows 10.0.16299.
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。保留所有权利。

生成启动时间为 2017/12/19 23:11:38。
节点 1 上的项目“D:\caffe\caffe\build\CMakeFiles\3.10.1\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". [D:\caffe\caffe\build\CMakeFiles\3.10.1\VCTargetsPath.vcxproj]
已完成生成项目“D:\caffe\caffe\build\CMakeFiles\3.10.1\VCTargetsPath.vcxproj”(默认目标)的操作 - 失败。

生成失败。

“D:\caffe\caffe\build\CMakeFiles\3.10.1\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". [D:\caffe\caffe\build\CMakeFiles\3.10.1\VCTargetsPath.vcxproj]
   0 个警告
    1 个错误
已用时间 00:00:00.47

Exit code: 1
-- Configuring incomplete, errors occurred!
See also "D:/caffe/caffe/build/CMakeFiles/CMakeOutput.log".

How solve?thank

@FinalAgito
Copy link

FinalAgito commented Dec 21, 2017

It couldn't find the Win Phone sdk 8.1.
Install it.

@FinalAgito
Copy link

FinalAgito commented Dec 21, 2017

Please read the logs info and try to search these problems in issue and searching engine, my friend.
They always help you to know how to do.

@Noiredd
Copy link
Member

Noiredd commented Jan 12, 2018

Please do not post usage, installation, or modeling questions, or other requests for help to Issues. Use the caffe-users list instead. This helps developers maintain a clear, uncluttered, and efficient view of the state of Caffe. Please read the guidelines for contributing before submitting an issue or a pull request.

@Noiredd Noiredd closed this as completed Jan 12, 2018
@v-prgmr
Copy link

v-prgmr commented Sep 14, 2018

@wuheng199112068 Stuck with the same error. I have added the environmental variable for CUDA and still this error pops up.

@algidus
Copy link

algidus commented May 19, 2019

For me, changing python version to 3.5 helped (I'm using PYTHON_VERSION=3) I had 3.7 before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants