OGRECave / ogre

scene-oriented, flexible 3D engine (C++, Python, C#, Java)
https://ogrecave.github.io/ogre/
MIT License
3.88k stars 961 forks source link

Compile error when glslang comonent on in linux #2980

Closed Joilnen closed 7 months ago

Joilnen commented 8 months ago

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

paroj commented 8 months ago

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 commented 8 months ago

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

Joilnen commented 8 months ago

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

susnux commented 7 months ago

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).