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

Installation error - C++14 flags #70

Closed
zhangmozhe opened this issue Jun 5, 2020 · 3 comments
Closed

Installation error - C++14 flags #70

zhangmozhe opened this issue Jun 5, 2020 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@zhangmozhe
Copy link

Hi, when I try to compile the pykeops from source, I found that I need to add these two lines

SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14")
SET(CUDA_NVCC_FLAGS "${CUDA_NVCC_FLAGS} -std=c++14")

in CMAKElist.txt for a successful compilation. Hope this can help.

@bcharlier
Copy link
Member

Hi @zhangmozhe ,

is this related to last post of #56 ?

@moulin1024
Copy link

I had the same compiling issue as #56, and change to c++14 fix the problem!
Maybe it's a good idea to include this problem in the documentation :)

@jeanfeydy jeanfeydy added the enhancement New feature or request label Jul 15, 2020
@jeanfeydy jeanfeydy changed the title Installation error Installation error - C++14 flags Jul 15, 2020
@bcharlier
Copy link
Member

the new cuda 11.0 is now compatible with c++17. It should fix the pb. Feel free to reopen the issue if needed.

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

No branches or pull requests

4 participants