[FFmpeg-devel] [RFC] MinGW+FFmpeg survival guide

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Jun 23 00:41:29 CEST 2011

Stefano Sabatini <stefano.sabatini-lala <at> poste.it> writes:

> > > In particular I'm facing this issue when compiling FFmpeg+libsdl,
> > > sdl-config/pkg-config return the -mwindows flag, which disables
> > > logging to stderr, which is pretty annoying.
> > 
> > Thank you, that is a very useful hint!
> Well so are you confirming that I'm not the only one facing the issue?


> (and why nobody complained before?)

Perhaps users believe (as I did) that this is a feature?


> > > +* fix the HOME variable, so that it will point to
> > > +  $MINGW_PATH/msys/1.0/home/$USER
> > 
> > That wasn't necessary for me, but probably doesn't hurt.
> Only required if you install MSysGit, it will tweak the HOME variable.

iirc, I simply called git from MSys and it worked fine.


> > > +lib.exe
> > 
> > I did not need this...
> > (Is it the reason for the reported linking problem?)
> How did you manage to create the DLLs then? AFAIK that's required for
> creating DLLs.

I simply ran ./configure --enable-shared --disable-static (and successfully
tested the resulting binary), but it is of course possible I missed something.

Didn't you miss installing libzip-devel and (libbzip2-devel)?

Carl Eugen

More information about the ffmpeg-devel mailing list