[FFmpeg-devel] [PATCH] Add pkg-config for libfdk_aac

Matt Oliver protogonoi at gmail.com
Thu Jan 1 05:50:09 CET 2015


On 1 January 2015 at 07:51, wm4 <nfxjfg at googlemail.com> wrote:

> On Wed, 31 Dec 2014 19:32:23 +0100
> Jean-Baptiste Kempf <jb at videolan.org> wrote:
>
> > On 31 Dec, wm4 wrote :
> > > On Wed, 31 Dec 2014 14:11:20 +0100
> > > Clément Bœsch <u at pkh.me> wrote:
> > >
> > > > On Wed, Dec 31, 2014 at 12:14:03PM +0000, Carl Eugen Hoyos wrote:
> > > > > Nicolas George <george <at> nsup.org> writes:
> > > > >
> > > > > > Le primidi 11 nivôse, an CCXXIII, Carl Eugen Hoyos a écrit :
> > > > > > > Please make this use_pkg_config ... || require libfdk_aac...
> > > > > >
> > > > > > Is there a known instance where fdk_aac is
> > > > > > not bundled with valid pkg-config files?
> > > > >
> > > > > All systems without pkg-config.
> > > >
> > > > Does that even exist?
> > >
> > > Windows.
> >
> > Install msys2
> >
> > Run the shell, then:
> > pacman -S pkg-config
> >
> > MAGIC!


I have to agree with Jean-Baptiste, Im on windows and I use msys2 without
any problems at all.
Using a bit more than just pkg-config:
pacman -S make base-devel mingw-w64-x86_64-toolchain
will get a complete build environment that works out of the box with
pkg-config without any issues at all. I build 42 different dependency
libraries (some are dependencies of dependencies etc.) that I then use with
building FFmpeg and have them working fine. So its clearly possible to
build on windows without any problem with pkg-config. There are also build
scripts on places like zeranoe that show how to build ffmpeg with
dependencies without issue.

there was some talk on irc about people using mingw with pkg-config
> 100% , so i'm going to ask if they could update the toolchain
> recommendations that ffmpeg gives? just write down what you use
> and whats easiest and i'll update the docs.


So perhaps the docs could just be updated to suggest something like msys2
in which case we shouldn't then have to worry about any pkg-config issues
on windows.


More information about the ffmpeg-devel mailing list