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

gcc 7 seems cannot compile this proj? #71

Open
courao opened this issue Jul 19, 2018 · 5 comments
Open

gcc 7 seems cannot compile this proj? #71

courao opened this issue Jul 19, 2018 · 5 comments

Comments

@courao
Copy link

courao commented Jul 19, 2018

gcc 7 seems cannot compile this proj?

@ikuinen
Copy link

ikuinen commented Jul 24, 2018

i also encounter this problem

@slavaGanzin
Copy link

No. Only gcc6. In case you have two or more gcc versions, this will work:

cmake -D CMAKE_C_COMPILER:string=gcc-6  -D CMAKE_CXX_COMPILER=c++-6  .. 

@cbasavaraj
Copy link

@slavaGanzin Thanks, useful for me just the day after you posted! Small typo though I think: g++-6 instead of c++-6. So:
cmake -D CMAKE_C_COMPILER:string=gcc-6 -D CMAKE_CXX_COMPILER=g++-6 ../

@cbasavaraj
Copy link

Addendum: I was getting errors during the make step
CMake Error at test_gpu_generated_test_gpu.cu.o.cmake:279
Tried with gcc-5, luckily this worked!
Whew, the amount of work to get this working!

@Honghe
Copy link

Honghe commented Jul 7, 2019

gcc-5 works on Ubuntu 18.04, too.

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

5 participants