[MPlayer-users] Re: SVN Compilation in Win XP (MinGW)

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Mon Apr 2 20:37:31 CEST 2007


Hello,
On Mon, Apr 02, 2007 at 11:32:38PM +0600, Alexander Bokovikov wrote:
> Reimar D?ffinger wrote:
> >Although it is a bit outdated by now, there is still my
> >MinGW-build-package here:
> >http://www1.mplayerhq.hu/~reimar/mpl_mingw32.zip
> >Just dropping its contents into MPlayer sources and using mplmconf
> >script to configure should work.
> 
> Thanks A LOT!!! It looks just like what I'd like to have!
> Though I have a couple of questions just for better understanding:
> 
> 1. Does "--enable-gui" matter for both MPlayer and MEncoder, or it is just 
> for MPlayer and has no affect to MEncoder?

It should only affect mplayer.

> 2. I've noticed the SDL reference in your script, and there are two 
> options, looking as mutually-opposite: "--with-sdl-config=" and 
> "--disable-sdl". How should I understand it?

Well, I had a static libsdl in there, the --with-sdl-config was to make
it possible to link against it. Problem is, when compiled against static
libsdl it crashes, so I disabled it. The --with-sdl-config is irrelevant
due to the --disable-sdl, it's just there to remind me how to get it to
work in case I'll give it another try somewhen.

> Am I correct in my understanding, that I need to remove both options, if I 
> just need to compile a commandline tool? I don't need GUI. And I have a 
> care about MEncoder only at present. Does this my wish affect to the 
> configuration string?

Well, you could fiddle with the config string to save a bit of disk
space, but I think that's pointless. Just leave it as it is and only
take the mencoder binary and ignore the mplayer one.

> Also can I partially update some external libraries, which I've downloaded 
> and compiled? Can I copy just ".a" and ".h" files with similar names? Or is 
> it danderous?

It certainly is not dangerous, you sure can try it out. I think I had to
modify some .h files, you'll notice that, it just won't compile if you
replace any of those. Most should be unmodified directly from source
though.

Greetings,
Reimar Döffinger



More information about the MPlayer-users mailing list