[FFmpeg-devel] Create .lib static libraries on Windows instead of .a libraries (using MSVC compiler)

Hendrik Leppkes h.leppkes at gmail.com
Wed Sep 27 18:40:31 EEST 2017


On Wed, Sep 27, 2017 at 4:43 PM, Anonymous Maarten
<anonymous.maarten at gmail.com> wrote:
> Hey,
>
> Building the static ffmpeg library using vcpkg is currently broken [1][2].
> This is mainly due to the fact that the built static libraries are .a files
> with lib prefixes.
>
> The attached patch sets the lib prefix to "" and the lib suffix to ".lib".
>
> Tested by building ffmpeg using vcpkg and Visual Studio 2017 Community
> Edition on Windows 10.
> The resulted libraries link correctly to my application.
>

This would break the workflow for everyone that is currently working
with the current names, however.

- Hendrik


More information about the ffmpeg-devel mailing list