[FFmpeg-devel] Unable to compile with cuda

Timo Rothenpieler timo at rothenpieler.org
Sun May 23 16:13:31 EEST 2021


On 24.05.2021 00:08, Dylan Fernando wrote:
> 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"

--enable-cuda is not a valid option since a long time.
You desperately need to update your ffmpeg if it still recognized is.

You use --enable-cuda-nvcc if you for some reason insist on the 
proprietary compile, or --enable-cuda-llvm to use clang and rid yourself 
of the dependency on the CUDA SDK.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4494 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20210523/c7de229f/attachment.bin>


More information about the ffmpeg-devel mailing list