A Zig + SDL3 + Vulkan project.
This project targets Zig 0.16.0. The repository includes a .zigversion file and VS Code settings so the official Zig extension can default to Zig 0.16.0 and ZLS automatically.
- Zig 0.16.0
- Vulkan SDK
- SDL3
- SDL3_image
- A C compiler (gcc or clang)
sudo emerge dev-lang/zig media-libs/libsdl3 media-libs/sdl3-image dev-util/vulkan-headers dev-util/vulkan-toolssudo pacman -S zig sdl3 sdl3_image vulkan-develsudo apt install gcc vulkan-tools libvulkan-dev libsdl3-dev libsdl3-image-dev
# install zig manually from https://ziglang.org/download/- Install Zig
- Install Vulkan SDK
- Install SDL3 and SDL3_image with your system package manager
git clone --recurse-submodules https://github.com/GustawMatuszewski/ENG
cd ENGIf you already cloned without --recurse-submodules:
git submodule update --init --recursivecurl -o deps/vulkan-zig/vk.xml \
https://raw.githubusercontent.com/KhronosGroup/Vulkan-Docs/main/xml/vk.xmlzig build rungit submodule update --remote deps/vulkan-zig