On 20/03/12 10:25, JonY wrote:
 > On 3/20/2012 17:54, postmas...@csmiller.demon.co.uk wrote:
 >> JonY said:
 >>> On 3/20/2012 00:57, mingw...@csmiller.demon.co.uk 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.
 >
 >
 >
Jon,

I am a bit reluctant to do that, as the fact that it doesn't build means
that there is something wrong with my build environment.
However, if it comes to it, I will do that, or upgrade to a slightly
later ffmpeg.


Colin S. Miller



------------------------------------------------------------------------------
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
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to