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
Build from Git on Ubuntu 22.04 fails with "error: call to non-‘constexpr’ function" #626
Comments
Hey @davidmcnabnz , what version of gcc are you using ( |
Current gcc version on Ubuntu[Studio] 22.04 LTS is: As per your suggestion, I installed clang, removed the build/ directory, and tried to set up for a fresh build with: This failed at the step of:
I tried to remedy this by installing all the libatomic-related dev packages, but this didn't resolve the issue. Note that when I run cmake, accepting the default compiler (/usr/bin/), the above 'atomic not found' error does not occur. If I've got the cmake setup command wrong (above), please correct me. |
Environment
Describe the bug
Attempting to build giada fails with a C++ compilation error:
error: call to non-‘constexpr’ function
To Reproduce
Steps to reproduce the behavior:
Expected behavior
gardia fully compiles and links without problems
Screenshots
Here is one of the 3 compilation error messages:
Additional context
Ubuntu 22.04 LTS system is up to date. It's not immediately obvious which toolchain programs and which versions are being used, eg g++ vs gcc vs some other compiler.
The text was updated successfully, but these errors were encountered: