LukasBanana / LLGL

Low Level Graphics Library (LLGL) is a thin abstraction layer for the modern graphics APIs OpenGL, Direct3D, Vulkan, and Metal
BSD 3-Clause "New" or "Revised" License
2.03k stars 135 forks source link

Include cstdint to fix build on some platforms #90

Closed bsaleil closed 1 year ago

bsaleil commented 1 year ago

Add cstdint include to fix the build on some platforms. I wasn't able to build LLGL without that include on my Linux machine.

LukasBanana commented 1 year ago

Thanks for the fix. I am curious why this wasn't picked up by the CIS build for Ubuntu. What is your build configuration (GCC or Clang)? Perhaps a different compiler toolchain?

bsaleil commented 1 year ago

Yeah that's weird. I had the same issue with both gcc 13 and clang 15. Maybe the CIS is using and older version of gcc that was using <cstdint> more widely in its headers ? (https://gcc.gnu.org/gcc-13/porting_to.html)

LukasBanana commented 1 year ago

FWIW: The CIS build is using GNU 11.4.0.