[MPlayer-cygwin] compile the libs on mingw - x264

Stefan Gürtler helfmir at surfeu.de
Sun Jan 2 22:02:08 CET 2005



Enhanced step 5 including building/installing x264

Step 5 lame, xvid and x264

Get the nasm sources from 
http://sourceforge.net/project/showfiles.php?group_id=6208

tar -xvvzf nasm-0.98.38.tar.gz
cd nasm-0.98.38
./configure --prefix=c:/mingw
make
make install
cd

Install lame from http://lame.sourceforge.net/download/download.html
tar -xvvzf lame-3.96.1.tar.gz
cd lame-3.96.1
./configure --prefix=c:/mingw --disable-shared --disable-decoder
make
make install
cd

Now get http://www.xvid.org/downloads.html
tar -xvvzf xvidcore-1.0.3.tar.gz
cd xvidcore-1.0.3/build/generic
./configure --prefix=c:/mingw --disable-shared
make
make install
mv c:/mingw/lib/xvidcore.a c:/mingw/lib/libxvidcore.a

Get x264 svn checkout from videolan.org. Either use cygwin svn client or 
download official ziped win32 binaries from 
http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91.
Unpack and copy all files in /bin somewhere into your PATH, e.g. /mingw/bin

svn co svn://svn.videolan.org/x264/trunk x264
cd x264/build/cygwin
make
cp bin/libx264.a /mingw/lib
cd ../../
cp x264.h /mingw/include/




More information about the MPlayer-cygwin mailing list