On 3/20/2012 17:54, [email protected] wrote: > JonY said: >> On 3/20/2012 00:57, [email protected] wrote: > <snip!> >> I'm trying to build ffmpeg-0.5.5 for MS-Windows 64bit; it claims >>> it needs MinGW64 3.15 or later. >>> >>> >>> TIA, >>> Colin S. Miller >> Go ahead and bump it yourself, we don't normally increment those numbers. > > Jon, > It seems a bit strange that the ffmpeg team picked a version that MinGW64 > doesn't support by default (the version check is only for MinGW x86_64). > However, I bumped the version to 3.20, and the win32api version to 3.13 > (from 3.12), as ffmpeg checks that next. > > Their code then does (libavdevice\vfwcap.c) > #include "libavformat/avformat.h" > #include <vfw.h> > #include <windows.h> > > which fails as vfw.h does not pull in a #define / typedef for DWORD etc. > This could be be fixed, (in several source files, or in vfw.h), but I > suspect that ffmpeg used a different version of MinGW64. > > Thanks for your time, but I think this is a question for the ffmpeg team. > > Colin. >
I'm not familiar with the ffmpeg code base, so its best to ask the mingw maintainer for some explanation. I can't say for sure what the real problem is. As a quick fix, you could try moving windows.h above vfw.h.
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
