On Fri, Apr 22, 2022 at 05:37:46 +0000, FFmpeg user discussions wrote:
> ./configure --enable-cuda --enable-cuvid --enable-nvdec --enable-nvenc 
> --enable-nonfree --enable-libnpp --extra-cflags=-I/usr/local/cuda/include 
> --extra-ldflags=-L/usr/local/cuda/lib64 --disable-x86asm
>
> below is the error i have got ,can u please help us in fixing the issue.i 
> have attached the config file log for reference as well
> [root@localhost FFmpeg]# ./configure --enable-nonfree --enable-cuda-nvcc 
> --enable-libnpp --extra-cflags=-I/usr/local/cuda/include 
> --extra-ldflags=-L/usr/local/cuda/lib64 --disable-static --enable-shared 
> --disable-x86asm
> ERROR: failed checking for nvcc.

Your log file says:
> nvcc -gencode arch=compute_35,code=sm_35 -O2 -std=c++11 -m64 -ptx -c -o 
> /tmp/ffconf.jxP0ew2J/test.o /tmp/ffconf.jxP0ew2J/test.cu
> ./configure: line 991: nvcc: command not found
> ERROR: failed checking for nvcc.

Did you install the nvidia-cuda-toolkit and nv-codec-headers?

Moritz
_______________________________________________
ffmpeg-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to