/learning-vulkan

Sample project for vulkan tutorial and trials

Primary LanguageC++GNU General Public License v3.0GPL-3.0

Vulkan Linux Learning

Setup

Install dependencies for vulkan development from this Vulkan Tutorial

Skip the makefile section as this project uses cmake.

The build script can be modified for a different IDE (Uses CodeLite as is).

I'm currently using Code - OSS with the c++ and cmake extensions from this Tutorial. If you are also running Arch you will need to manually install the C++ extension from Microsoft (They use a different store from what I gather).

Arch + Code - OSS

sudo pacman -S vulkan-devel

sudo pacman -S glfw-x11

sudo pacman -S glm glew

sudo pacman -S shaderc

sudo pacman -S libxi libxxf86vm

git clone https://github.com/rassweiler/learning-vulkan.git
  • Download c++ extension for Code - OSS and install it manually (Install from VSIX menu option).
  • Select a compiler kit: Open command menu (ctrl-shift-p) and run Cmake: Select A Kit.
  • Select a build variant: Open command menu (ctrl-shift-p) and run Cmake: Select Variant.
  • Configure Cmake: Open command menu (ctrl-shift-p) and run Cmake: Configure.
  • Build Project: Open command menu (ctrl-shift-p) and run Cmake: Build (Or press build button at bottom of window).

Other IDE

If not using Code - OSS then run the cmake command for your generator of choice

References