[MPlayer-users] mplayer directx error on windows

Henry Garcia defsyn at gmail.com
Mon Aug 20 21:13:11 CEST 2007


When all else fails, read the instructions: i.e avoid the ugly.

Step 2 directx headers
> Get the directx header package at
> http://www.mplayerhq.hu/MPlayer/releases/win32-beta/contrib/dx7headers.tgz
>
> Extract the headers and move them to your mingw inlucde dir (c:\mingw\include)
> To do this use the following commands in your msys shell
> tar -xvvzf dx7headers.tgz
> mv *.h c:/mingw/include
>
>
Follow the instructions.

http://www.mplayerhq.hu/MPlayer/releases/win32/contrib/MPlayer-MinGW-Howto.txt

On 8/20/07, Vinay Reddy <vinayvinay at gmail.com> wrote:
>
> 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
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>



More information about the MPlayer-users mailing list