[MEncoder-users] Trying to build MPlayer/MEncoder under Windows
Andrew Berg
bahamutzero8825 at gmail.com
Tue Nov 17 11:59:41 CET 2009
I set up a MinGW environment with GCC 3.4.5 (from what I've read GCC 4.x
is basically alpha on Windows and has some other problems, plus I
haven't seen anything to favor using GCC 4), installed binutils and
coreutils as well some basic utilities like grep and sed, and I either
installed or built from source a couple of dependencies (e.g. yasm,
pthreads). I managed to build and install a daily snapshot of x264 and
MPlayer's configure script detected it. After the configure script
finished, everything looked good, so I ran make. It ran for a while and
then I got this:
> gcc -Wundef -Wdisabled-optimization -Wdeclaration-after-statement
> -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4
> -march=pentium-m -mtune=pentium-m -pipe -ffast-math
> -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -c -o stream/tvi_dshow.o
> stream/tvi_dshow.c
> In file included from
> c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/objbase.h:73,
> from
> c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ole2.h:9,
> from
> c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windows.h:114,
> from stream/tvi_dshow.h:8,
> from stream/tvi_dshow.c:90:
> c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/objidl.h:69:
> error: syntax error before numeric constant
> In file included from ./loader/dshow/mediatype.h:10,
> from stream/tvi_dshow.h:11,
> from stream/tvi_dshow.c:90:
> ./loader/dshow/guids.h:59: warning: redundant redeclaration of 'GUID_NULL'
> c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/cguid.h:10:
> warning: previous declaration of 'GUID_NULL' was here
> stream/tvi_dshow.c: In function `init':
> stream/tvi_dshow.c:2765: warning: unsigned int format, long unsigned
> int arg (arg 4)
> stream/tvi_dshow.c:2779: warning: unsigned int format, long unsigned
> int arg (arg 4)
> make: *** [stream/tvi_dshow.o] Error 1
My guess is that there's some program I need to have, but there's
nothing here to indicate what it would be. I would really like to stop
depending on others to build MPlayer. I have searched the list, but
didn't find anything useful (other than that I need pthreads, but that's
taken care of).
More information about the MEncoder-users
mailing list