caffe-builder icon indicating copy to clipboard operation
caffe-builder copied to clipboard

nvcc.hpp(22): fatal error C1017:

Open zhouliguo opened this issue 7 years ago • 4 comments

When I use CUDA 9.1, I encountered the problem ".caffe/dependencies/libraries_v140_x64_py27_1.1.0/libraries/include/boost-1_61\boost/config/compiler/nvcc.hpp(22): fatal error C1017". There is no this problem in CUDA 8.0.

zhouliguo avatar Dec 13 '17 13:12 zhouliguo

boost 1.61 do not support CUDA 9.x,you can use CUDA 8.x or update boost to 1.65

myy1966 avatar Jan 31 '18 14:01 myy1966

How to? the package boost is inside the directory in all subdirectories (include, lib ...) with another packages. i have the same problem than zhouliguo. Perhaps it's possible create another package with this not default libraries? Thanks.

JavierRuano avatar Mar 03 '18 10:03 JavierRuano

the another problem is when you install version boost 1.65, the system not detect

-- Boost version: 1.65 NOT FOUND Only 1.62 < 1.65 -- Found the following Boost libraries: -- system -- thread -- filesystem -- regex -- chrono -- date_time -- atomic

https://stackoverflow.com/questions/42123509/cmake-finds-boost-but-the-imported-targets-not-available-for-boost-version

JavierRuano avatar Mar 03 '18 11:03 JavierRuano

It seems commnet Line 22 to Line 24 in nvcc.hpp worked for me.

taosean avatar Oct 30 '18 06:10 taosean