Open jessychen1016 opened 3 years ago
Problem Solved!! Follow the direction in the error message : /usr/local/cuda-10.1/include/crt/common_functions.h:74:24: error: token ""CUDACC_VER
Go to the file /usr/local/cuda-10.1/include/crt/common_functions.h and comment out line 74, have fun guys! :)
Perhaps updating eigen to the nightly version (currently 3.4.90) also works. CUDA 9 has not been released when the Eigen version is 3.3.4.
In file included from /usr/local/cuda-10.1/include/cuda_runtime.h:115:0, from:0:
/usr/local/cuda-10.1/include/crt/common_functions.h:74:24: 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
define CUDACC_VER "CUDACC_VER is no longer supported. Use CUDACC_VER_MAJOR, CUDACC_VER_MINOR, and CUDACC_VER_BUILD instead."
/usr/include/eigen3/Eigen/src/Core/util/Macros.h:364:33: note: in expansion of macro ‘__CUDACC_VER__’
if defined(CUDACC_VER) && CUDACC_VER >= 70500 && __cplusplus > 199711L
I got this error when catkin_make, please help. Thx