WebRTC not building for Windows

此生再无相见时 提交于 2019-12-05 17:58:38

I have found this possible solution at Google Code

as per braveyao@webrtc.org's sugestion

Supporting msvs is not the focus of Chromium. You can try ninja which should always work. Also you could try to set the "GYP_GENERATORS=msvs-ninja,ninja". Then you could build with ninja and debug with VS2013.

Also, chromium is now 64bit only so you need to change GYP_DEFINES aswell

so your envirnment variables should be:

GYP_DEFINES=target_arch=x64
DEPOT_TOOLS_WIN_TOOLCHAIN=0
GYP_GENERATORS=msvs-ninja,ninja
GYP_MSVS_VERSION=2013

Of course replace 2013 if that's not the version of Visual Studio you have installed

you may need to delete what you already have downloaded and do a fresh fetch webrtc after that change if you thinkered with it

I should also add that the Windows must be english version (it's ok if you after install some other language pack but it must be originally english) - i have a PT-PT version at home and that one always gives an error with some python file when running gclient sync - at work though i originally had english version and installed the PT-PT language pack but it works fine

This is what worked for me. Does that work for you?

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!