-
First make sure you have all development packages for vulkan installed, it can be done with those commands:
- On Ubuntu:
sudo apt install vulkan-tools libvulkan-dev vulkan-validationlayers-dev spirv-tools
- On Fedora:
sudo dnf install vulkan-tools vulkan-loader-devel mesa-vulkan-devel vulkan-validation-layers-devel
- On Arch Linux:
sudo pacman -S vulkan-devel
- On Ubuntu:
-
You will also need the LUNARG Vulkan SDK, try running
sudo apt install vulkan-sdk
if that failes you will need to add the LUNARG PPA, for more info see https://vulkan.lunarg.com/sdk/home#linux (see the "Ubuntu Packages" section under Linux)
Due to extremely long link times with GCC's ld
it is recommend
to use the mold linker:
sudo apt install mold
To run Checklight Engine execute the main
cmake target,
like so:
# Build
mkdir build
cmake . -B build -G Ninja
cmake --build build/ --target main -j $(($(nproc --all) + 1))
# Execute
cd build && ./main
PascalCase
classes
snake_case
variables
camelCase
methods