- 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问题的解决办法
网
您可能关注的文档
- 电机厂仓库管理制度OK.doc
- 德州华糖食品有限公司劳动合同(骗子公司).doc
- 陈家坝安置房承包合同.doc
- 2015届中招复习文言文早读资料与练习放映版.doc
- 毕业年级入学考试化学试题.doc
- 4×300WM发电厂一期电气工程初步设计.doc
- word精校版2016年山东春季高考语文真题.docx
- QCPZ-009无损检测及罐检管理规定.doc
- L1桥梁墩柱施工方案.doc
- 昆明市2016年初中学业水平考试(英语试卷).doc
- 小区绿化施工协议书.docx
- 墙面施工协议书.docx
- 1 古诗二首(课件)--2025-2026学年统编版语文二年级下册.pptx
- (2026春新版)部编版八年级道德与法治下册《3.1《公民基本权利》PPT课件.pptx
- (2026春新版)部编版八年级道德与法治下册《4.3《依法履行义务》PPT课件.pptx
- (2026春新版)部编版八年级道德与法治下册《6.2《按劳分配为主体、多种分配方式并存》PPT课件.pptx
- (2026春新版)部编版八年级道德与法治下册《6.1《公有制为主体、多种所有制经济共同发展》PPT课件.pptx
- 初三教学管理交流发言稿.docx
- 小学生课外阅读总结.docx
- 餐饮门店夜经济运营的社会责任报告(夜间贡献)撰写流程试题库及答案.doc
原创力文档

文档评论(0)