Closed elisedlfg closed 3 months ago
The requires keyword is something new in C++20. Apparently you're using an older compiler. The minimal version of gcc is 9.4. Don't know for sure what the minimal clang version is.
Please also note that Ubuntu 20.04 is already 4.5 years old. Perhaps you should consider updating to a newer version.
Thanks for a swift answer. I do have gcc 9.4, so I guess a system upgrade is in order. Best
In that case... hmmm. You should be able to build dssp using gcc 9.4, but perhaps cmake selected the wrong version in case you have an older compiler installed as well. You can specify the compiler to use, one way to do this is to specify the compiler in the configure step. Like so:
cmake -S . -B build -DCMAKE_CXX_COMPILER=/usr/bin/g++-9
Hello,
I'm trying to install dssp but keep getting this error - seems to be a variable declaration issue in the code but code looks fine. Do you have any idea what might be going wrong there/how to fix this?
Cmake version 3.30.0 Ubuntu 20.04.6 LTS
Thanks a lot