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

Missing include in VKPipelineState.h and VKPipelineBarrier.h ? #97

Closed HITOA closed 11 months ago

HITOA commented 11 months ago

I had a small issue while compiling the llgl vulkan renderer. Two file (VKPipelineState.h and VKPipelineBarrier.h) was throwing exception at me (std::uint32_t undefined for example). I just included cstdint at the top of the file and it seems to work fine now.

LukasBanana commented 11 months ago

Hi, can you please share what platform and compiler toolchain you are using? And do I understand correctly, both files needed the extra #include-directive?

HITOA commented 11 months ago

I'm on linux (6.4.12-arch1-1) with a wayland window manager. (with XWayland for compatibility with X11 app) on CLion, using the bundled cmake that come with CLion. compiler are gcc/g++.

That's correct, i had to add #include<cstdint> to both header file or else a bunch of stuff was undefined.

LukasBanana commented 11 months ago

Thanks for bringing it up, I just confirmed the issue in my Arch Linux VM. Fixed with c6c59cf.