WebRTC源代码分析.docVIP

  • 53
  • 0
  • 约4.24千字
  • 约 8页
  • 2017-12-26 发布于河南
  • 举报
WebRTC源代码分析

编译WebRTC总结 一、安装vpn或者其他代理,如果没有代理,你的代码要成功下下来几乎不可能,反正我搞了这么多天都没有成功过。 二、安装SVN工具,下载地址:、安装工具,下载地址:/ 四、安装vs201旗舰版,下载地址/vs2013.html 五、安装depot_tools工具,下载地址:/svn/trunk/tools/depot_tools.zip (1)将工具包解压后,depot_tools的路径加入环境变量,很重要。()–version (这里将自动安装python,git,svn等) 六、下载WebRTC代码:(1)新建个目录,如C:\WebRTC (2)使用 cmd.exe 输入: cd c:\WebRTC\()后输入:?gclientonfig?/svn/trunk? ? ()设置产生者Set?GYP_GENERATORS=msvs ()设置vs产生者版本set?GYP_MSVS_VERSION=2013 ()获取工程的最新文件gclient sync --force ()获取工程的最新文件gclient runhooks --force 十二、完成编译,好吧,现在马上开始研究代码。willian12@ 编译错误集锦错误: 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 10C:\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. 解决办法: 原文:/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 :) havent 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问题的解决办法 网

文档评论(0)

1亿VIP精品文档

相关文档