[MPlayer-cygwin] Problems compiling for windows platform

Sascha Sommer saschasommer at freenet.de
Thu May 20 13:28:35 CEST 2004


> Hi there,
> I am trying to compile MPlayer/MEncoder for Windows using Cygwin.
> I have several questions:
> - Does somebody know which is the minimal set of packages I have to
download for
> Cygwin to compile MPlayer? I downloaded ~20Mb of packages which I think
are not
> necessary...

Hard to tell, but you need at least the windows api package, the directx
headers
from http://www.mplayerhq.hu/MPlayer/releases/win32-beta/contrib and gcc
etc.

> - I tried to compile but now MEncoder looks into Linux-like paths such as
> home/rds_correia/...
> Anyway I can make it to look for correct Windows-like paths such as Sascha
> Sommer's compilings? Would --target=Platform help?
> - What kind of options are there for the --target configure option? Could
I use
> --target=i386-windows?
>
> BTW I am trying to compile so that I can use DirectShow filters but when I
use
> --enable-dshow I end up with a lot of errors when I "make".
> Also if somebody could give me a nice set of options for "configure"?
> I am using something like: ./configure --enable-largefiles --enable-static
> --confdir=mplayer/ --enable-win32 --enable-directx
> Could somebody give me some help on these issues?
> Thanks in advance

I'm not sure if the cygwin port is really what you are looking for. If you
want to create a standalone
mplayer use msys and mingw to compile mplayer. I usually run configure on
msys with
./configure --enable-runtime-cpudetection --enable-vidix --enable-static --w
ith-codecsdir=codecs
not sure if this work on cygwin but you probably will have to alter
the --with-codecsdir dir option to use absolute paths for
example --with-codecsdir=c:/codecs

Sascha




More information about the MPlayer-cygwin mailing list