[FFmpeg-user] error compiling ffmpeg ERROR: cuda requested, but not all dependencies are satisfied: ffnvcodec

Moritz Barsnick barsnick at gmx.net
Tue Oct 22 01:08:36 EEST 2019


On Mon, Oct 21, 2019 at 16:42:16 -0500, pasha-19 wrote:
> $ pkg-config --list-all
> ...
> ffnvcodec       ffnvcodec - FFmpeg version of Nvidia Codec SDK headers
[...]
> ERROR: cuda requested, but not all dependencies are satisfied: ffnvcodec

That's peculiar, because config.log says ffnvcodec was okay:

[...]
check_pkg_config ffnvcodec ffnvcodec >= 9.0.18.0 ffnvcodec/nvEncodeAPI.h ffnvcodec/dynlink_cuda.h ffnvcodec/dynlink_cuviddec.h ffnvcodec/dynlink_nvcuvid.h
test_pkg_config ffnvcodec ffnvcodec >= 9.0.18.0 ffnvcodec/nvEncodeAPI.h ffnvcodec/dynlink_cuda.h ffnvcodec/dynlink_cuviddec.h ffnvcodec/dynlink_nvcuvid.h
pkg-config --exists --print-errors ffnvcodec >= 9.0.18.0
check_func_headers ffnvcodec/nvEncodeAPI.h ffnvcodec/dynlink_cuda.h ffnvcodec/dynlink_cuviddec.h ffnvcodec/dynlink_nvcuvid.h  -ID:/Portable/msys64/usr/local/include
test_ld cc -ID:/Portable/msys64/usr/local/include
test_cc -ID:/Portable/msys64/usr/local/include
BEGIN /tmp/ffconf.wKsH8Szh/test.c
    1   #include <ffnvcodec/nvEncodeAPI.h>
    2   #include <ffnvcodec/dynlink_cuda.h>
    3   #include <ffnvcodec/dynlink_cuviddec.h>
    4   #include <ffnvcodec/dynlink_nvcuvid.h>
    5   #include <stdint.h>
    6   int main(void) { int ret = 0;
    7   return ret; }
END /tmp/ffconf.wKsH8Szh/test.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -U__STRICT_ANSI__ -D__USE_MINGW_ANSI_STDIO=1 -D__printf__=__gnu_printf__ -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -I/usr/local/CUDA/include -std=c11 -fomit-frame-pointer -ID:/Portable/msys64/usr/local/include -c -o /tmp/ffconf.wKsH8Szh/test.o /tmp/ffconf.wKsH8Szh/test.c
gcc -L/usr/local/CUDA/lib/x64 -Wl,--nxcompat,--dynamicbase -Wl,--as-needed -ID:/Portable/msys64/usr/local/include -o /tmp/ffconf.wKsH8Szh/test.exe /tmp/ffconf.wKsH8Szh/test.o
[...]

Moritz


More information about the ffmpeg-user mailing list