[MPlayer-users] mplayer directx error on windows

Vinay Reddy vinayvinay at gmail.com
Mon Aug 20 20:39:14 CEST 2007


Hi,
I tried building mplayer (1.0rc1) on windows (with --enable-directx),
and got the following error:

cc -c -I. -I.. -Wdeclaration-after-statement -fno-PIC -O4
-march=pentium-m -mtune=pentium-m -pipe -ffast-math
-fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_O
FFSET_BITS=64 -D__CYGWIN__  -o ao_dsound.o ao_dsound.c
ao_dsound.c:29:20: dsound.h: No such file or directory
ao_dsound.c:113: error: parse error before "hds"

I had the DirectX SDK, so I ended up pasting the header files into the
libao2 and libvo directories (I know it's an ugly solution...) and the
compile succeeded. But, when I try to open a file using the "-vo
directx" option, I get an error saying:
Error opening/initializing  the selected video_out (vo) device.

Can anyone help me out?

Thanks,
Vinay



More information about the MPlayer-users mailing list