[pkg-boost-devel] Bug#888070: boost CUDA compatibility

Lumin cdluminate at gmail.com
Tue Jan 23 03:51:23 UTC 2018


Package: libboost-python-dev
Version: 1.62.0.1
Severity: normal

Currently the CUDA version in unstable is 9.0,
which does not work with the current boost version

The following error arise when compiling:

In file included from /usr/include/common_functions.h:50:0,
                 from /usr/include/cuda_runtime.h:115,
                 from <command-line>:0:
/usr/include/boost/config/compiler/nvcc.hpp:22:34: error: token
""__CUDACC_VER__ is no longer supported.  Use __CUDACC_VER_MAJOR__,
__CUDACC_VER_MINOR__, and __CUDACC_VER_BUILD__ instead."" is not valid
in preprocessor expressions
 #if !defined(__CUDACC_VER__) || (__CUDACC_VER__ < 70500)
                                  ^

It seems that updating boost to a newer version may solve this
problem.

Reference: https://github.com/BVLC/caffe/issues/5994


-- 
Best,



More information about the pkg-boost-devel mailing list