Opened 2 months ago

Last modified 2 months ago

#6587 new defect

Failed to compile FFmpeg with "--enable-libnpp" after install CUDA 9.0 RC.

Reported by: ryan Owned by:
Priority: normal Component: ffmpeg
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
How to reproduce:

% git clone https://github.com/FFmpeg/FFmpeg.git
% cd FFmpeg
% ./configure --enable-nonfree --disable-shared --enable-nvenc --enable-cuda --enable-cuvid  --enable-libnpp --extra-ldflags="-L/usr/local/cuda-9.0/lib64" --extra-cflags="-I/usr/local/cuda-9.0/include/"

Fix:
Line 5869: enabled libnpp && require libnpp npp.h nppGetLibVersion -lnppi -lnppc

Changed to
enabled libnpp && require libnpp npp.h nppGetLibVersion -lnppicc -lnppig -lnppc

Change History (1)

comment:1 Changed 2 months ago by heleppkes

I would generally recommend to use the CUDA scaling filter instead of libnpp in the future.

Note: See TracTickets for help on using tickets.