I expected pkg-config to be able to give me information about "cuda", but instead I got:
root@71f807687755:/alvr# pkg-config --libs --cflags cuda
Package cuda was not found in the pkg-config search path.
Perhaps you should add the directory containing `cuda.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cuda' found
Hello~
I expected pkg-config to be able to give me information about "cuda", but instead I got: 55:/alvr# pkg-config --libs --cflags cuda
root@71f8076877
Package cuda was not found in the pkg-config search path.
Perhaps you should add the directory containing `cuda.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cuda' found
Adding a file /usr/share/ pkgconfig/ cuda.pc fixes it: https:/ /github. com/Toxblh/ ALVR/blob/ nvidia- linux/packaging /deb/cuda. pc:
root@71f8076877 55:/alvr# pkg-config --libs --cflags cuda lib/cuda/ include -L/usr/ lib/cuda/ lib64/stubs -lcuda
-I/usr/
--- Versions --- 55:/alvr# lsb_release -rd 55:/alvr# apt-cache policy nvidia-cuda-toolkit cuda-toolkit: archive. ubuntu. com/ubuntu focal/multiverse amd64 Packages dpkg/status
This is just a Docker container running `ubuntu:latest`.
root@71f8076877
Description: Ubuntu 20.04.3 LTS
Release: 20.04
root@71f8076877
nvidia-
Installed: 10.1.243-3
Candidate: 10.1.243-3
Version table:
*** 10.1.243-3 500
500 http://
100 /var/lib/
~ckie