happynear / caffe-windows

Configure Caffe in one hour for Windows users.
Other
1.32k stars 650 forks source link

win10+cuda10+cudnn7.3编译出现MSB271错误? #321

Open Dian-Yi opened 4 years ago

Dian-Yi commented 4 years ago

Severity Code Description Project File Line Suppression State Error MSB3721 The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_64,code=\"sm_64,compute_64\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64" -x cu -I"C:\VSProjects\caffe-widows\windows\libcaffe\....\src\" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -G -lineinfo --keep-dir C:\VSProjects\caffe-widows\windows..\Build\Int\libcaffe\x64\Debug -maxrregcount=0 --machine 64 --compile -cudart static -Xcudafe "--diag_suppress=exception_spec_override_incompat --diag_suppress=useless_using_declaration --diag_suppress=field_without_dll_interface" -D_SCL_SECURE_NO_WARNINGS -DGFLAGS_DLL_DECL= -g -D_DEBUG -D_SCL_SECURE_NO_WARNINGS -DUSE_OPENCV -DUSE_LEVELDB -DUSE_LMDB -DMATLAB_MEX_FILE -DWITH_PYTHON_LAYER -DBOOST_PYTHON_STATIC_LIB -DUSE_NCCL -DUSE_CUDNN -D_UNICODE -DUNICODE -Xcompiler "/EHsc /W1 /nologo /Od /FdC:\VSProjects\caffe-widows\windows..\Build\Int\libcaffe\x64\Debug\libcaffe.pdb /FS /Zi /RTC1 /MDd " -o C:\VSProjects\caffe-widows\windows..\Build\Int\libcaffe\x64\Debug\absval_layer.cu.obj "C:\VSProjects\caffe-widows\src\caffe\layers\absval_layer.cu"" exited with code 1. libcaffe C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\BuildCustomizations\CUDA 10.0.targets 712

是这个版本不支持cuda10么?

guofenggitlearning commented 4 years ago

I am also this problem,please solve.thank you very much!

guofenggitlearning commented 4 years ago

你解决这个问题了吗?

jun20061588 commented 4 years ago

win10+cuda10+cudnn7.5+vs2017编译的,没有出现这个问题