happynear / caffe-windows

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

Cuda 8.0 / Boost conflict #311

Open syanenko opened 5 years ago

syanenko commented 5 years ago

Branch: ms MS VStudio: 2015 CUDA: 8.0 Architecture: sm_50, cumpute_50 (Unfortunately sm_61, cumpute_61 is not supported by CUDA 8.0 as desired by my GT1050Ti).

Getting this error while compiling: <...>/boost/system/error_code.hpp(240): error C2694: 'const char boost::system::error_category::std_category::name(void) const': overriding virtual function has less restrictive exception specification than base class virtual member function 'const char std::error_category::name(void) noexcept const' [D:_Projects\Caffe\caffe-windows-ms\windows\Caffe.sln]

With MS VStudio 2017, CUDA 10.0 (sm_61, cumpute_61) works fine - thanks !

Btw: Very long delay (about 20 min) at the start of CUDA compilation - I was confused and do a lot of experiments wasting time. It would be better to add some message at this point.