From 765ac7aef6495a993d8293c1c77b18f4f2bd3ce0 Mon Sep 17 00:00:00 2001 From: JeremyRand <244188+JeremyRand@users.noreply.github.com> Date: Tue, 28 Nov 2023 02:25:37 +0000 Subject: [PATCH] Update Vulkan dependency docs (#5178) Vulkan deps are optional. vulkan-utils is replaced with vulkan-tools since Debian 10. Co-authored-by: Jeremy Rand --- docs/how-to-build/how-to-build.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/how-to-build/how-to-build.md b/docs/how-to-build/how-to-build.md index 469d7dc87..cc49f367c 100644 --- a/docs/how-to-build/how-to-build.md +++ b/docs/how-to-build/how-to-build.md @@ -36,15 +36,19 @@ Install required build dependencies: * g++ * cmake * protocol buffer (protobuf) headers files and protobuf compiler -* vulkan header files and loader library * glslang +* (optional) vulkan header files and loader library # If building with Vulkan, without simplevk * (optional) opencv # For building examples Generally if you have Intel, AMD or Nvidia GPU from last 10 years, Vulkan can be easily used. On some systems there are no Vulkan drivers easily available at the moment (October 2020), so you might need to disable use of Vulkan on them. This applies to Raspberry Pi 3 (but there is experimental open source Vulkan driver in the works, which is not ready yet). Nvidia Tegra series devices (like Nvidia Jetson) should support Vulkan. Ensure you have most recent software installed for best experience. -On Debian, Ubuntu or Raspberry Pi OS, you can install all required dependencies using: +On Debian 10+, Ubuntu 20.04+, or Raspberry Pi OS, you can install all required dependencies using: +```shell +sudo apt install build-essential git cmake libprotobuf-dev protobuf-compiler libvulkan-dev vulkan-tools libopencv-dev +``` +On earlier Debian or Ubuntu, you can install all required dependencies using: ```shell sudo apt install build-essential git cmake libprotobuf-dev protobuf-compiler libvulkan-dev vulkan-utils libopencv-dev ```