When I build Caffe(window) with Cuda 8.0 and Visual studio 2017, I have encountered the problem:
1>D:\Trial\caffe-master\caffe-master\windows\libcaffe>“C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin\nvcc.exe” -ccbin “C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\bin\x86_amd64” -I"D:\Trial\caffe-master\NugetPackages\lmdb-v120-clean.0.9.14.0\build\native…\lib\native\include" …
1>CUDACOMPILE : nvcc warning : The ‘compute_20’, ‘sm_20’, and ‘sm_21’ architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
1>Failed to run C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/bin/x86_amd64 (The system cannot find the file specified.
I track the file “C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/bin/x86_amd64”, which is defined in Cuda 8.0.props:
But VCInstallDir is C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/ that does not have /bin/x86_amd64. Instead, the file is located in C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64. B.t.w., Cuda 8.0.props is not changeable. How can I solve this problem? Thanks.