[FFmpeg-devel] Unable to compile with cuda

Dylan Fernando dylanf123 at gmail.com
Mon May 24 01:08:00 EEST 2021


I got it to work, with --enable-cuda as well, using:

PKG_CONFIG_PATH="/home/dylan/Files/nv-codec-headers" ./configure
--enable-opencl --enable-vulkan --enable-libglslang --disable-stripping
--enable-nonfree --enable-cuda --enable-cuda-nvcc
--extra-cflags=-I/opt/local/cuda/include --nvccflags="-gencode
arch=compute_52,code=sm_52 -O2"

Thanks,
Dylan


More information about the ffmpeg-devel mailing list