[MPlayer-users] directx support on cygwin

Puneet Arora arorap at gmail.com
Wed Nov 3 10:52:24 CET 2010

On Wed, Nov 3, 2010 at 12:26 AM, Reimar Döffinger
<Reimar.Doeffinger at gmx.de> wrote:
> On Wed, Nov 03, 2010 at 12:06:10AM -0700, Puneet Arora wrote:
>> On Tue, Nov 2, 2010 at 11:58 PM, Reimar Döffinger
>> <Reimar.Doeffinger at gmx.de> wrote:
>> > On Tue, Nov 02, 2010 at 05:00:55PM -0700, Puneet Arora wrote:
>> >> As per the directions, I
>> >> dumped the dx7 header files in the include folder before running
>> >> configure.
>> >
>> > Which ones did you use exactly? They might be broken and require
>> > and explicit windows.h include before.
>> The ones given here: http://www.mplayerhq.hu/DOCS/HTML/en/windows.html
>> I used the dx7 header files link given on that page and followed the
>> instruction under section 9.4.1 Cygwin on that page.
> Ok, I'll see if I can find time to test and fix that (though I am
> still in favour of just including working versions in the MPlayer source),
> you could try these instead for now, they worked for me:
> http://natsuki.mplayerhq.hu/~reimar/ddraw.h
> http://natsuki.mplayerhq.hu/~reimar/dinput.h
> http://natsuki.mplayerhq.hu/~reimar/dsound.h

Thank you! When I used those files, DirectX support got enabled !


============ Checking for Directx ============

#include <ddraw.h>
#include <dsound.h>
int main(void) { return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith
-Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes
-Wdisabled-optimization -Wdeclaration-after-statement -std=gnu99  -O4
-march=pentium-m -mtune=pentium-m -pipe -ffast-math
-fomit-frame-pointer /tmp/mplayer-configure-31985-6596/tmp.c -I.
-Iffmpeg  -fno-common    -lwinmm -ffast-math  -liconv -lpng -lz -lmng
-lz -ljpeg -lgif  -lgdi32 -lopengl32 -lgdi32 -lwinmm  -o
/tmp/mplayer-configure-31985-6596/tmp.exe -lgdi32

Result is: yes

More information about the MPlayer-users mailing list