gstreamer1.0-plugins-bad compilation from sources: missing cuda.h
Try to compile gst-plugins-bad1.0 from sources returns the error on Ubuntu 20.04 LTS:
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I../../gst-libs -I../../gst-libs -pthread -I/usr/
In file included from nvcuvid.h:38,
cuviddec.h:39:10: fatal error: cuda.h: File not found
39 | #include <cuda.h>
| ^~~~~~~~
compilation terminated
Steps to reproduce:
apt source gstreamer1.
sudo apt install build-essential
sudo apt build-dep gstreamer1.
cd gst-plugins-
debuild -us -uc
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: gstreamer1.
ProcVersionSign
Uname: Linux 5.4.0-74-generic x86_64
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: GNOME
Date: Thu Jun 10 18:06:15 2021
InstallationDate: Installed on 2018-04-05 (1162 days ago)
InstallationMedia: Ubuntu 16.04.4 LTS "Xenial Xerus" - Release amd64 (20180228)
SourcePackage: gst-plugins-bad1.0
UpgradeStatus: Upgraded to focal on 2020-10-28 (225 days ago)
Question information
- Language:
- English Edit question
- Status:
- Needs information
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
This question was originally filed as bug #1931609.
Can you help with this problem?
Provide an answer of your own, or ask Adrian for more information if necessary.