Vulkan-Loader-1.3.287

Introduction to Vulkan-Loader

The Vulkan-Loader package contains a library which provides the Vulkan API and provides core support for graphics drivers for Vulkan.

[Note]

Note

Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.

Package Information

Vulkan-loader Dependencies

Required

CMake-3.29.5, Vulkan-Headers-1.3.287, Wayland-1.23.0, and Xorg Libraries

Recommended (Runtime)

Mesa-24.1.1 (for Vulkan drivers)

Installation of Vulkan-Loader

[Note]

Note

If this package is being installed on a system where Mesa has already been installed previously, please rebuild Mesa-24.1.1 after this package to install Vulkan graphics drivers.

Install Vulkan-Loader by running the following commands:

mkdir build &&
cd    build &&

cmake -DCMAKE_INSTALL_PREFIX=/usr       \
      -DCMAKE_BUILD_TYPE=Release        \
      -DCMAKE_SKIP_INSTALL_RPATH=ON     \
      -G Ninja .. &&
ninja

This package does not come with a working test suite.

Now, as the root user:

ninja install

Command Explanations

-DCMAKE_SKIP_INSTALL_RPATH=ON: This switch makes cmake remove hardcoded library search paths (rpath) when installing a binary executable file or a shared library. This package does not need rpath once it's installed into the standard location, and rpath may sometimes cause unwanted effects or even security issues.

Contents

Installed Programs: None
Installed Libraries: libvulkan.so
Installed Directories: /usr/lib/cmake/VulkanLoader

Short Descriptions

libvulkan.so

provides the Vulkan API and core support for graphics drivers