Packages needed for Vulkan development on openSUSE
Recently I had a first look into Vulkan
development. So I started by reading
a Vulkan Tutorial. It’s rather detailed and actually it takes a
long time before you see your first shaded triangle (about 900 lines of
code!). The Vulkan Tutorial has some software requirements on
Linux, which are explained in detail in the Development environment for
Linux. In order to make things easier for openSUSE users here
is the package list you need to have installed. Just install them via
zypper
.
Since the tutorial is using C++ …
# if you don't have the C++ compiler installed yet
zypper in gcc-c++
Vulkan packages
zypper in vulkan-tools vulkan-devel vulkan-validationlayers libvulkan_intel libvulkan_radeon
Shader Compiler glsc
for generating SPIR-V
binaries
zypper in shaderc
GLM
library needed for linear algebra operations (not included by Vulkan, but also popular on OpenGL)
zypper in glm-devel
GLFW
library for window handling, etc. used by the Tutorial (Vulkan is platform-agnostic!)
zypper in libglfw-devel
Other needed packages since mentioned in the sample Makefile of the Tutorial
zypper in libXi-devel libXxf86vm-devel
And now have fun with the Vulkan Tutorial ! :-)