CsPaint  2.0.0
Building on Windows (MinGW)

You will need to install the following two libraries.

  • SDL2
  • Vulkan SDK

Building

The following bash script will configure CMake for building CsPaint using MinGW. You will need to adjust the value for SDL2_DIR depending on where you installed it. The exact version of the Vulkan SDK export needs to match the one installed on your computer.

export SDL2_DIR=/c/SDL/x86_64-w64-mingw32/lib/cmake/SDL2
export VULKAN_SDK=/c/VulkanSDK/1.2.170
cmake -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/c/cs_paint_lib /c/cs_paint

To build CsPaint and the Graphics Demo run the following command from a bash prompt.

ninja