cuda-samples icon indicating copy to clipboard operation
cuda-samples copied to clipboard

vulkan samples not building

Open udnaan opened this issue 5 years ago • 2 comments

What

Vulkan samples do not build

Where

Debian buster (10.5) X86_64

Why

findvulkan.mk has hardcoded paths for each distro. Unfortunately, debian is not one of the included distro and since the makefile fails to match a case, it declares libX11.so as missing.

Solution

/usr/sbin/ldconfig -p | grep -i libx11 is a more reliable way to search for libraries on any modern linux system that cuda supports.

udnaan avatar Sep 25 '20 13:09 udnaan

that is correct Debian OS support needs to be added, thanks for the suggestion regarding ldconfig.

mdoijade avatar Sep 28 '20 08:09 mdoijade

Had similar issues in EL7

qhaas avatar Apr 05 '21 00:04 qhaas