[MPlayer-cygwin] Re: Cygwin & console

mrSHADOW mrshadow at howto.pl
Sat Mar 13 19:08:44 CET 2004


Joey Parrish writes:

> On Sat, Mar 13, 2004 at 10:56:39AM +0100, mrSHADOW wrote:
> 
>>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.
> 
> 
> Then also try to enable getch2-win32 in osdep.
> I do both, but can't recall which one was the important one.
> Try both and let me know how it works.

Yes, that's it. Enabling getch2-win32 works. HAVE_NO_POSIX_SELECT can be
as default undefined. So why it's only in mingw's osdep makefile??

mrSHADOW




More information about the MPlayer-cygwin mailing list