-
Notifications
You must be signed in to change notification settings - Fork 71
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
Cannot build due to EASTL issue #58
Comments
Hi, @turbo0628. Thanks for reporting this. The issue looks the same as electronicarts/EASTL#482, but should not occur with a C++20-compatible compiler like clang 15... I'm setting up similar environments to yours in the GitHub workflows to reproduce the issue. Meanwhile, would you mind providing the CMake log when you configured the project? Maybe it's because CMake is not finding the correct compiler. |
Yeah I'm very confused about it too. The CMakeCache.txt is attached as follows The clang-15 compiler is freshly installed with LLVM apt repository https://apt.llvm.org/ Which version are you using in your dev environment? |
I think I've reproduced a similar error in the workflows, where the compiler is clang 15.0.6 but it failed to find the C++20 However, this error is gone with a newer gcc. So the most likely explanation is that clang is using the standard library headers from the old gcc? |
It looks like the error can be worked around by specifying the Please pull the latest
|
Thanks! Sorry for the late reply as I didn't have time to proceed in the last month. I close this issue as I have successfully compiled the project with gcc 11.3 on a freshly installed ubuntu 22.04. Nice work! |
Hi folks, I'm building with clang++15, ubuntu 20.04.
I encounter a compilation error that is related with EASTL
Err log:
This seems the same error with electronicarts/EASTL#482
EASTL commit hash b6f329dc9c09ffaf68a979c6591e66a12cf6c2b9
Do you have any suggestions about this?
The text was updated successfully, but these errors were encountered: