[MPlayer-cygwin] SDL, GGI.. and ? :)

Julien WAJSBERG flash at minet.net
Thu Aug 1 19:35:58 CEST 2002


On Fri, 2 Aug 2002, Sycotic Smith wrote:

>
> ----- Original Message -----
> From: Julien WAJSBERG <flash at minet.net>
> Date: Thu, 1 Aug 2002 18:55:55 +0200 (CEST)
> To: mplayer-cygwin at mplayerhq.hu
> Subject: [MPlayer-cygwin] SDL, GGI.. and ? :)
>
>
> > Hi,
> >
> > I finally compiled mplayer/cygwin with SDL support.
> > (before, it didn't work .. because of the mingw/-mno-cygwin/whatever
> > thing)
> >
> > However, although all the SDL tests are working, with mplayer, a window
> > appears, then disappears right away.
> >
> > Mplayer works with X11 (either Xfree86 or XWin32), but it's obviously too
> > slow, as in Linux :) is there a way to make XV work ?
> >
> > I was wondering also if GGI works well. Indeed I already tried to compile
> > it, but the DXSDK seems somewhat broken... I'll try to fix that (or use
> > dxsdk files from sdl :))
> >
> > Also, is it normal that mplayer produces no output (I also tried the -v
> > option :) ?
> >
> > Well .. I think that's all !
> > --
> > Flash
> >
> 1. I did get GGI to compile, but at the time I did not have the DX headers installed, so I had to disable several portions of GGI.  Do a search on the www for "dxlibs.zip" and "directx-devel.tar.gz" and you may get lucky... I can send them if they are not still out there, I lost the page where I got them.  That being said, t still has not given me any video yet, seems I don't know the correct options to give it to create output window(s)...
For archiving, it compiles with the directx headers on the libsdl site :)
(I don't know if it works yet, though :)
Links on http://www.libsdl.org/extras/win32/cygwin/README.txt

> 2. Enabling Xv (still not working on my system, don't have Xv support on my video card) is pretty simple.
> In configure, the detection seems to be backwards, I sent a patch for it, look through the archives of -dev-eng if this doesn't make sense.
> Line 2168 of configue needs to read:
>   cc_check -lXv $_inc_x11 $_ld_x11 && _xv=yes
I saw that, and someone replied that it was bad.. and the thread stopped here :)

> 3. Yes, output will not show up, and this is normal for a Wind*ws app.  To fix, just remove the -mwindows from the SDL_LIB line in config.mak as well as mingw.
I did all you said in this message.
Before that, mplayer didn't link in the last phase. Now it linked, but it
obviously doesn't work.

Mmmm just watched the config.mak. you said that line 52 should be :
SDL_LIB = -L/usr/local/lib -lSDL -mwindows -mcygwin

and line 73 :
SDL_INC = -I/usr/local/include -I/usr/local/include/SDL -Dmain=SDL_main -DWIN32 -Uunix

Should I remove -mwindows ?
(I'm really bad with these conflicting libraries ... :)

-- 
Flash




More information about the MPlayer-cygwin mailing list