[FFmpeg-devel] [PATCH] configure: use check_lib2 for cuda and cuvid

Hendrik Leppkes h.leppkes at gmail.com
Sat Nov 12 12:21:21 EET 2016


On Sat, Nov 12, 2016 at 1:44 AM, Hendrik Leppkes <h.leppkes at gmail.com> wrote:
> Fixes building on Windows with MSVC using the link libraries distributed with the CUDA SDK.
>
> check_lib2 is required here because it includes the header to get the full signature of the
> function, including the stdcall calling convention and all of its arguments, which enabled
> the linker to determine the fully qualified object name and resolve it through the import
> library, since the CUDA SDK libraries do not include un-qualified aliases.

Something the  message didn't say, this only applies to x86 where
stdcall is used, x64 uses only one calling convention for everything,
and this problem does not occur.

- Hendrik


More information about the ffmpeg-devel mailing list