<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2900.2604" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Hello,</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2> I have trouble about compiling x264 source
code in mingw and posted in this maillist. Thanks champ yen very much for his
reply and helps! Now I find a tutorial from mplayer about how to compile x264
project in MinGW, and I followed the steps successfuly!</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>-----------Original document from <A
href="http://www2.mplayerhq.hu/MPlayer/releases/win32-beta/contrib/MPlayer-MinGW-Howto.txt">http://www2.mplayerhq.hu/MPlayer/releases/win32-beta/contrib/MPlayer-MinGW-Howto.txt</A></FONT></DIV>
<DIV>Step 5 lame, xvid and x264<BR><BR>Get the nasm sources from
<BR>http://sourceforge.net/project/showfiles.php?group_id=6208<BR><BR>tar -xvvzf
nasm-0.98.38.tar.gz<BR>cd nasm-0.98.38<BR>./configure
--prefix=c:/mingw<BR>make<BR>mkdir c:/mingw/man/man1<BR>make
install<BR>cd<BR><BR>Install lame from
http://lame.sourceforge.net/download/download.html<BR>tar -xvvzf
lame-3.96.1.tar.gz<BR>cd lame-3.96.1<BR>./configure --prefix=c:/mingw
--disable-shared --disable-decoder<BR>make<BR>make install<BR>cd<BR><BR>Now get
http://www.xvid.org/downloads.html<BR>tar -xvvzf xvidcore-1.0.3.tar.gz<BR>cd
xvidcore-1.0.3/build/generic<BR>./configure --prefix=c:/mingw
--disable-shared<BR>make<BR>make install<BR>mv c:/mingw/lib/xvidcore.a
c:/mingw/lib/libxvidcore.a<BR><BR>Get x264 svn checkout from videolan.org.
Either use cygwin svn client or <BR>download official ziped win32 binaries from
<BR>http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91.<BR>Unpack
and copy all files in /bin somewhere into your PATH, e.g. /mingw/bin<BR><BR>svn
co svn://svn.videolan.org/x264/trunk x264<BR>cd x264/build/cygwin<BR>make<BR>cp
bin/libx264.a /mingw/lib<BR>cd ../../<BR>cp x264.h /mingw/include/</DIV>
<DIV><FONT size=2>-----------</FONT> </DIV>
<DIV><FONT size=2> </FONT></DIV>
<DIV><FONT size=2> Hope this helps!</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Best Regards,<BR>Xie Bo</FONT></DIV></BODY></HTML>