First setup
Cloning the repository
One of the first things you will need is Git with the large file storage extension installed. So on most Linux distributions you can get git
and git-lfs
from your distributions repository. On Windows you should get Git with a basic shell from here and the newest release of git-lfs from here.
When both is installed you will need to run the following command in the shell (for example Git Bash on Windows) once:
git lfs install
Then you can clone the official repository with all required submodules from the shell as following:
git clone --recurse-submodules https://gitlab.uni-koblenz.de/vulkan2021/vkcv-framework.git
Building the framework
Now you should have all required dependencies to build the framework from source except the Vulkan headers. Those headers can be installed via the VulkanSDK. On Linux distributions you should also get those headers from the distributions repository though.
To build the framework from source you will need CMake and a compiler which supports at least C++20. Dependent on your operating system you have the following options as compiler:
- MSVC (can be installed via VisualStudio on Windows)
- GCC (available in any Linux distributions repository or via MSYS2 on Windows)
- Clang (available in any Linux distributions repository and via homebrew on macOS)
CMake can be installed on Windows from here. On Linux distributions it's another package to be installed from repository and on macOS it can also be installed via homebrew like the compiler previously.
If you should encounter any issues, there are also separate guides to build the framework from source for each operating system:
So feel free to consult them if necessary or look on the frameworks repository for more information when there's anything wrong, not working for you or unclear.
Development environment
Once everything is setup for building, the only thing left is an IDE for development. There are many potential options which are listed in a separate guide by the framework. This tutorial will recommend to use VSCodium. You can install its newest release from here. More information about your IDE of choice can be read here:
These are just some options but any other IDE for C++ supporting CMake should be fine as well.