webcrt编译错误集锦

错误:

 yasm gperf for C:\Users\melcu\Desktop\webrtc\trunk\build\Debug\obj\global_intermediate\third_party\yasm\x86insn_gas.gperf.
10>  Could not open `C:/Users/melcu/Desktop/webrtc/trunk/build/Debug/obj/global_intermediate/third_party/yasm/x86insn_gas.gperf' for reading
10>C:\Users\melcu\Desktop\webrtc\trunk\third_party\yasm\yasm.targets(1,2021): 
 
error MSB3721: The command "call "C:\Users\melcu\Desktop\webrtc\trunk\third_party\yasm\..\..\third_party\cygwin\setup_env.bat" && set CYGWIN=nontsec&& set INTDIR=C:\Users\melcu\Desktop\webrtc\trunk\Debug\obj\yasm\&& set OUTDIR=../..\build\Debug\&& set INPUTPATH=C:\Users\melcu\Desktop\webrtc\trunk\build\Debug\obj\global_intermediate\third_party\yasm\x86insn_gas.gperf && bash -c "\"`cygpath -m \"${OUTDIR}\"`/genperf\" \"`cygpath -m \"${INPUTPATH}\"`\" \"`cygpath -m \"${INTDIR}\"`/third_party/yasm/x86insn_gas.c\""" exited with code 1.

解决办法:

原文:http://code.google.com/p/webrtc/issues/detail?id=197

Update: looks like x86insn_gas.gperf and x86insn_nasm.gperf are in my 'trunk/third_party/yasm/source/patched-yasm' dir but the yasm build expects them to be in 'trunk/build/[Debug/Release]/obj/global_intermediate/third_party/yasm' dir. Putting them there manually yields a successful yasm and libvpx build now :) haven't dug deep enough yet to know why they are being generated to the wrong folders but at least this is a workaround for us. 
即手动拷贝patched-yasm中的x86insn_gas.gperf和x86insn_nasm.gperf文件,然后点击编译,不要点击重新编译。



编译时,error C2977 "std::tuple" too many template arguments问题的解决办法

网文http://www.cnblogs.com/fresky/articles/2455058.html中的方案如下:

打开 c:\program files (x86)\Microsoft Visual Studio 11.0\VC

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值