frkang

博客园 首页 联系 订阅 管理

1、下载X264源代码并解压;

2、运行\MinGW\msys\1.0\msys.bat文件;

3、利用cd命令切换到下x264目录;

4、执行一下命令:

./configure && make

5、为了供VS调用,需要再生成dll;

./configure --enable-shared

make

6、下载pexports,将该文件放在系统目录或者VC的BIN目录下,方便在CMD界面下能找到pexports命令;

7、执行一下命令,记得把对应的DLL名字改了:

pexports libx264-133.dll >libx264-133.def

8、运行Visual Studio command prompt,执行一下命令:

lib /machine:i386 /def:libx264-114.def

9、创建lib文件成功。

posted on 2013-06-25 22:55  frkang  阅读(230)  评论(0编辑  收藏  举报