Vireo  0.0
Vireo 3D Rendering Hardware Interface
Building Vireo

Dependencies

Most of the dependencies used by Vireo RHI are automatically configured by the CMakeLists.txt file except for the Vulkan SDK.

Install the Vulkan SDK

  • Vulkan SDK 1.4.x+ (Linux : run setup-env.sh from the Vulkan installation directory to set the VULKAN_SDK environment variable)
  • Slang shader compiler (slangc must be on PATH or use the one in the Vulkan SDK bin directory)

Install the build tools

For Microsoft Windows :

For Linux :

  • LLVM 22+ (typical packages to install : cmake ninja-build clang-22 clangd-22 libc++-22-dev libc++abi-22-dev clang-tools-22 lld-22 libpng-tools vulkan-validationlayers)

For macos (Apple Silicon only) :

  • LLVM 22+ from HomeBrew with CMake and Ninja

Standalone build

This library is not indended to be used as a standalone library but rather as a dependency of another project. If you really want to build Vireo RHI standalone clone the Vireo RHI repository then :

  • cmake -B build -G Ninja -D CMAKE_BUILD_TYPE=Release (adapt for your build tool)
  • cmake --build build

Next : "Hello Triangle" tutorial