[MPlayer-cygwin] Re: Cygwin & console

Sascha Sommer saschasommer at freenet.de
Sat Mar 13 15:14:48 CET 2004


> Joey Parrish writes:
> > On Fri, Mar 12, 2004 at 05:58:56PM +0100, news.gmane.org wrote:
> > 
> >>Is there anyone who can tell me if it's possible to compile
> >>mplayer under cygwin without console window? I know, that
> >>I can use gcc option -mwindows. When I try to use it, it
> >>compiles ok and there is no console, but mplayer behavies
> >>incorrectly. I mean it looks like there are many keys
> >>events and after short period of time mplayer quits.
> > 
> > 
> > Yes.  You should "#define HAVE_NO_POSIX_SELECT 1" so that the mingw
> > version of the fifo code gets used.  I think that should be enough,
> > IIRC.  I had to do this for my packages, and before I did I saw the
> > exact same problems you are describing.
> 
> Thank you for the tip, but no it doesn't help :(
> Actually nothing changed using other fifo.
> 

Try to compile it with mingw or with -mno-cygwin on cygwin.
It should work then.

Sascha





More information about the MPlayer-cygwin mailing list