Skip to content
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

Compile error when glslang comonent on in linux #2980

Closed
Joilnen opened this issue Nov 29, 2023 · 4 comments · Fixed by #3005
Closed

Compile error when glslang comonent on in linux #2980

Joilnen opened this issue Nov 29, 2023 · 4 comments · Fixed by #3005

Comments

@Joilnen
Copy link
Contributor

Joilnen commented Nov 29, 2023

Getting compile error in fa4b4bc
Errors message attached here
err_gcc.txt
err_clang.txt

@paroj
Copy link
Member

paroj commented Nov 30, 2023

looks like your glslang is too new and requires C++17, while we compile as C++14. Glslang 11.8, shipped with ubuntu works.

Compiling ogre as C++17 should work too.

@paroj
Copy link
Member

paroj commented Nov 30, 2023

change introduced in glslang 12.1/ vulkan sdk vulkan-sdk-1.3.268.0

@Joilnen
Copy link
Contributor Author

Joilnen commented Nov 30, 2023

yes that works, would not be the time to ogre to move to C++17 ?

@susnux
Copy link
Contributor

susnux commented Jan 8, 2024

Starting with GLSLANG 14 the ogre plugin is completely broken as it uses private types that are not exported / provided anymore (TType is now only a forward declared class).

@paroj paroj mentioned this issue Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants