参考博客: http://blog.csdn.net/huangxiansheng1980/article/details/5712003
1. configure 的时候发现缺少yasm.exe 和 pkg-config.exe
(1). 其中yasm.exe可以在网上下载现成的文件(在http://yasm.tortall.net/Download.html下载 cygwin版本的);
(2). 而pkg-config在网上没有找到现成的,看来要自己编译了,在http://pkgconfig.freedesktop.org/releases/ ,我下载的是pkg-config-0.23.tar.gz, 下载,解压缩,进入目录后执行 ./configure 进行配置,然后执行 make。然后在当前目录下生产pkg-config.exe。
拷贝 yasm.exe 和 pkg-config.exe 到 cygwin的bin目录下。
2. 在ffmpeg的目录下再执行 ./configure --enable-memalign-hack --disable-debug
编译的时候 竟然出现library.mak:95: *** missing separator. Stop. 哎,真是无语,在library.mak的95行在$后面加一个tab键就可以了。
。。。。。
编译终于开始了。
其实最后在cygwin上编译ffmpeg0.6.5通过还是通过以下两个朋友的博客。。。。
http://blog.sina.com.cn/s/blog_7a1896ee0100ppdp.html
http://www.cnblogs.com/scottwong/archive/2011/01/01/1909455.html