Open calf321 opened 11 months ago
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.
I also have this issue before. I solved it by installing cuda 11.7 and followed the same version as auther suggestion.
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??