Closed walksanatora closed 2 years ago
Hi there, I suspect your compiler does not yet support C++20 coroutines, a feature that the latest version of tev requires.
You could try upgrading your compiler, or, if that's not an option, fetch the commit tagged cpp17
to obtain an older version of tev that only requires a C++17-capable compiler.
Cheers!
I do believe my c compiler supports c++20 as it is the latest avaliable gcc
(g++) to be specific
That's not very specific, actually. Specific would be a version number, which you can get via g++ --version
.
The latest available version varies significantly by distro, to the point where some long-term-release distros ship multiple years old compilers.
running g++ --version
outputs
g++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 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.
That looks to be the issue. You need at least gcc 10 for coroutine support. See the "coroutines" entry in the compatibility chart.
Cheers!
after running
cmake ..
in thebuild
directory no then runningmake -j4
it crashes stating