[MPlayer-dev-eng] mplayer does not compile for windows

Stephen Sheldon sfsheldo at gmail.com
Sun Mar 2 18:33:46 CET 2014

I get this error when I compile on windows.

x86_64-w64-mingw32-gcc -MMD -MP -Wundef -Wall -Wno-switch 
-Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes 
-Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign 
-Wdeclaration-after-statement -std=gnu99 
-Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O4 
-march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer 
-fno-tree-vectorize -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE64_SOURCE -Ilibdvdread4 -I/mingw64/include -mno-ms-bitfields 
-fno-common -DPIC -I/mingw64/include/freetype2 -I/mingw64/include 
-I/mingw64/include/freetype2   -Wno-strict-prototypes -c -o 
gui/util/bitmap.o gui/util/bitmap.c
In file included from ./gui/app/app.h:23:0,
                  from ./gui/app/gui.h:27,
                  from gui/util/bitmap.c:30:
./gui/wm/ws.h:25:22: fatal error: X11/Xlib.h: No such file or directory
  #include <X11/Xlib.h>
compilation terminated.
Makefile:759: recipe for target 'gui/util/bitmap.o' failed
make: *** [gui/util/bitmap.o] Error 1

I tracked it down to r36953.  When I reverted that change mplayer 
compiled on windows.  It also compiled on fedora with no ill effects or 
warnings that I could see.  Perhaps you could consider reverting that 

More information about the MPlayer-dev-eng mailing list