[MPlayer-cygwin] Re: A small Mplayer + Cygwin HOWTO

t-om t-om at nic.fi
Sat Jul 1 15:26:35 CEST 2006


t-om <t-om <at> nic.fi> writes:
> Pekka Seppänen <pexu <at> lyseo.edu.ouka.fi> writes:
> > http://lyseo.edu.ouka.fi/~pexu/h/mplayer_windows_howto/

> - you do not need to move or copy compiled libraries. instead,
> specify [1] for mplayer's configure script.
> 
> [1] --with-extralibdir=/usr/local/lib

you also need to specify a similar construct for local include directory:

--with-extraincdir=/usr/local/include

> - you need to install some version of libpng and libpng-devel to get 
> screenshots to work.

it appears that cygwin does not create libpng.a link to point to the 
appropriate version of libpng, so you need to create it yourselve, e.g.:

cd /usr/lib
ln -s libpng12.a libpng.a
ln -s libpng12.dll.a libpng.dll.a

libpng include files are in a version dependent subdirectory, so the same 
applies to them:

cd /usr/include
ln -s libpng12/png.h
ln -s libpng12/pngconf.h

alternatively, you can add the include directory to the mplayer configuration 
script's --with-extraincdir option:

--with-extraincdir=/usr/local/include:/usr/include/libpng12

regards (once again),
-me





More information about the MPlayer-cygwin mailing list