Vulkan-Loader-1.3.294

#### Beyond Linux® From Scratch (systemd Edition) - Version 12.2

### Chapter 25. Graphical Environment Libraries

- Prev

  Vulkan-Headers-1.3.294

- Next

  WebKitGTK-2.44.3

- Up
- Home

# Vulkan-Loader-1.3.294

## 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.

This package is known to build and work properly using an LFS 12.2 platform.

### Package Information

- Download (HTTP): https://github.com/KhronosGroup/Vulkan-Loader/archive/v1.3.294/Vulkan-Loader-1.3.294.tar.gz

- Download MD5 sum: 31432bec5926f78a5e302e8c0530d284

- Download size: 1.6 MB

- Estimated disk space required: 9.3 MB

- Estimated build time: less than 0.1 SBU

### Vulkan-loader Dependencies

#### Required

CMake-3.30.2, Vulkan-Headers-1.3.294, Wayland-1.23.0, and Xorg Libraries

#### Recommended (Runtime)

Mesa-24.1.5 (for Vulkan drivers)

## Installation of Vulkan-Loader

### Note

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

Install Vulkan-Loader by running the following commands:

    mkdir build &&
    cd    build &&

    cmake -D CMAKE_INSTALL_PREFIX=/usr   \
          -D CMAKE_BUILD_TYPE=Release    \
          -D CMAKE_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

`-D CMAKE_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

- Prev

  Vulkan-Headers-1.3.294

- Next

  WebKitGTK-2.44.3

- Up
- Home