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.1k stars 139 forks source link

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

Closed HITOA closed 1 year ago

HITOA commented 1 year 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 1 year 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 1 year 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 1 year ago

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