如何在vc6下编译x264
Peter Lee(lspbeyond@sohu.com)
1、下载x264
x264的主页:http://videolan.org/
x264是用版权控制工具CVS进行更新的,其主页上不提供源码压缩包,所以我们要用专用的工具下载。
工具名:TortoiseSVN
使用方法:如图1所示。其中下载地址为:svn://svn.videolan.org/x264/trunk/
图1
2、准备编译环境所需文件
note:2和3部分参考了《How to Compile XviD with Microsoft Visual C++ 6.0》一文的内容
1) Service Pack 5 for Visual Studio 6 -
http://msdn.microsoft.com/vstudio/downloads/updates/sp/vs6/sp5/default.asp
The service pack contains all the latest bug fixes for Visual C++ 6.0 as well as updates to essential libraries. You can
download the service pack or order it on CD from the Microsoft Developers Network (MSDN) by clicking the link
above.
vc6补丁,所选的语言和VC的语言一致就可以了
2) Visual C++ 6.0 Processor Pack -
http://msdn.microsoft.com/vstudio/downloads/tools/ppack/default.aspx
The processors pack adds support for Intel's SSE, SEE2 and AMD's 3DNow! instructions.
支持处理器多媒体汇编指令的补丁
3) NASM - the famous Netwide Assembler -
http://sourceforge.net/projects/nasm/
Xvid uses NASM to "compile" the code written in assembly language (the *.asm files). Download the Win32 binary.
x264同样会用到这个编译器