[MPlayer-dev-eng] Compiling MPlayer under Wine

Diego Biurrun diego at biurrun.de
Fri Oct 7 11:18:43 CEST 2011


On Thu, Oct 06, 2011 at 05:59:48PM +0200, Ingo Brückl wrote:
> Diego Biurrun wrote on Thu, 06 Oct 2011 12:17:17 +0200:
> > On Wed, Oct 05, 2011 at 08:03:22PM +0200, Ingo Brückl wrote:
> >>
> >> If there is interest in this new "porting", I'd like to post the necessary
> >> patches for discussing and explain compilation in DOCS/tech/crosscompile.txt
> >> (renamed from DOCS/tech/mingw-crosscompile.txt then).
> 
> > Let's see the patches.  If they are not too ugly - why not ...
> 
> Here you are.
> 
> #1: Should be no problem. Even the standard windres understands option -o,
>     for Wine's windres the option is essential.
> 
> #2: GUI patch, so no problem at all.
> 
> #3: We need to include windows.h.
> 
> #4: I initially used target=mingw32, but this enables Windows stuff
>     (_getch=getch2-win.c and shmem=yes at line 1562) we don't want.

All OK, push anytime.

> There is only one file left that causes problems: stream/tvi_dshow.c. I
> configure --disable-tv, because I don't need it and so far did not succeed
> to figure out how to fix:
> 
>   warning: 'visibility' attribute ignored
>   error: non-static declaration of 'MP_CLSID_SampleGrabber' follows static declaration
>   error: previous declaration of 'MP_CLSID_SampleGrabber' was here
> 
> Maybe somebody knows what to do.

Apparently some system header clashes with our definition.  The above
error message looks incomplete, can you post it all?

Diego


More information about the MPlayer-dev-eng mailing list