[MPlayer-cygwin] Re: Cygwin & console

mrSHADOW mrshadow at howto.pl
Sat Mar 13 17:26:17 CET 2004


Sascha Sommer writes:

>>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.

Well, -mno-cygwin gives me many undefined references, so it's not the
best idea. Mingw is pretty obvious solution, but I wannted to do this
with cygwin because I have it configured already.

mrSHADOW




More information about the MPlayer-cygwin mailing list