Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error generating #1

Open
jessychen1016 opened this issue Mar 11, 2021 · 2 comments
Open

Error generating #1

jessychen1016 opened this issue Mar 11, 2021 · 2 comments

Comments

@jessychen1016
Copy link
Member

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

@jessychen1016
Copy link
Member Author

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! :)

@cyoahs
Copy link

cyoahs commented Dec 8, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants