[MPlayer-cygwin] MinGW compile-problem in vd_lcl.c,missingdefinition of 'Z_NO/BEST_COMPRESSION'

Diego Biurrun diego at biurrun.de
Wed Dec 17 00:55:33 CET 2003


Stefan Gürtler writes:
 > > Stefan Gürtler writes:
 > >  > > Where is the definition of 'Z_NO_COMPRESSION' and
 > `Z_BEST_COMPRESSION' on
 > >  > > your systems? Is it in zlib.h, and who do I get it?
 > >  > >
 > >  > So I found out at least that much:
 > >  >
 > http://www.cs.washington.edu/homes/suciu/XMLTK/xmill/www/XMILL/html/globals.
 > >  > html states that both 'Z_NO_COMPRESSION' and `Z_BEST_COMPRESSION' are
 > >  > defined in zlib.h.
 > >
 > > Just install zlib into MinGW, this will solve your problem.
 > 
 > Is there an ready-to use installation-package somewhere?

Not that I know of.

 > I had a bit of a hard time to compile zlib-1.2.1-tar.bz2 myself, and an
 > unsolved error, as documentation is somewhat poor.

I remember it being fairly straightforward, but prefix had to be
changed to /mingw/usr or something like that.

 > > Sascha Sommer committed a fix for this.  Update to latest CVS and try
 > > again.  Please report your success or failure here.
 > >
 > Right away:
 > This is done without zlib being installed yet!
 > Downloaded latest cvs into new directory and added libavcodec from 13.12.03.
 > ./configure --prefix=/opt/mplayer-031216
[..]
 > make && make install
 > 
 > All OK

Fine, case closed.  Zlib installation problems are rather offtopic
here.

Diego



More information about the MPlayer-cygwin mailing list