WebM VP8 调试环境搭建(三)

vp8的原始代码的路径为: d://project/vp8/vp8

 

因此,在cygwin的窗口中键入:

$ cd /cygdrive/d/project/vp8/vp8/build

 

$ ../src/configure --target=x86-win32-vs8 --enable-static-msvcrt --disable-install-docs

 

 

得到以下内容:

Configuring selected codecs

  enableing vp8_encoder

  enableing vp8_decoder

Configuring for target 'x86-win32-vs8'

  enabling x86

  enabling runtime_cpu_detect

  enabling mmx

  enabling mmx

  enabling sse

  enabling sse2

  enabling sse3

  enabling ssse3

  enabling sse4_1

Neither yasm or nasm habe been found

 

Configuration failed.This could reflect a misconfiuration of your toochains, improper options selected, or another problem. If you don't see any useful error messages above, the next step is to look at the confifure error log file (config.err) to determine what configure was tring to do when it died.

 

究其原因,是yasm需要管理员权限导致的。

重新来过之后,搞定。

 

注意:

中间还走过一次弯路。

在webM project的官方网站,http://code.google.com/p/webm/downloads/list, 下载代码时要注意,

vpx-vp8-debug-src-x86-win32mt-vs9-v0.9.6.1.zip , 是用于visual studio 2008 版本的代码(-vs9-);

vpx-vp8-debug-src-x86-win32mt-vs8-v0.9.5.zip ,是用于visual studio 2005 版本的代码(-vs8-);

注意区分。高版本可以兼容低版本代码,反之不然。

 

生成的solution,可以在visual studio中打开了编译了。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值