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 C++17 or later compatible compiler is required to ~~~~ #119

Open
calf321 opened this issue Dec 5, 2023 · 2 comments
Open

#error C++17 or later compatible compiler is required to ~~~~ #119

calf321 opened this issue Dec 5, 2023 · 2 comments

Comments

@calf321
Copy link

calf321 commented Dec 5, 2023

When I run that code
cmake --build build --target main --config RelWithDebInfo -j

The following error occurs:
#error C++17 or later compatible compiler is required to ~~~~

My g++ version looks like this:

g++ (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

How can I solve this??

@calf321
Copy link
Author

calf321 commented Dec 6, 2023

One thing I didn't mention is that since I use cuda version 11.8, I installed a different version of libtorch than the one suggested on git hub.

@kevinchan04
Copy link

I also have this issue before. I solved it by installing cuda 11.7 and followed the same version as auther suggestion.

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