WebRTC is not for Windows

Whenever I try to create WebRTC for Windows, I get this error when running gclient routines:

    ________ running 'C:\path\to\depot_tools\python276_bin\python.exe src/build
/landmines.py' in 'C:\path\to\webrtc\src\chromium' Please follow the instructions
at http://www.chromium.org/developers/how-tos/bui ld-instructions-windows
Traceback (most recent call last):
File "src/build/landmines.py", line 215, in <module> 
    sys.exit(main())
File "src/build/landmines.py", line 202, in main
    gyp_environment.SetEnvironment()
File "C:\path\to\webrtc\src\chromium\src\build\gyp_environment.py", line 33, in
SetEnvironment
    vs_toolchain.SetEnvironmentAndGetRuntimeDllDirs()
File "C:\path\to\webrtc\src\chromium\src\build\vs_toolchain.py", line 34, in
SetEnvironmentAndGetRuntimeDllDirs
    Update()
File "C:\path\to\webrtc\src\chromium\src\build\vs_toolchain.py", line 179, in
Update
    subprocess.check_call(get_toolchain_args)
File "C:\path\to\depot_tools\python276_bin\lib\subprocess.py", line 540, in
check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['C:\\path\\to\\depot_tools\\python276_bin\\python.exe',
'C:\\path\\to\\depot_tools\\win_toolchain\\get_toolchain_if_necessary.py', '--output-json',
'C:\\path\\to\\webrtc\\src\\chromium\\src\\build\\win_toolchain.json', 
'ee7d718ec60c2dc5d255bbe325909c2021a7efef']' returned non-zero exit status 1
Error: Command C:\path\to\depot_tools\python276_bin\python.exe src/build/landmines.py returned non-zero exit status 1 in C:\path\to\webrtc\src\chromium
Hook ''C:\path\to\depot_tools\python276_bin\python.exe' src/build/landmines.py' took 68.55 secs
Error: Command C:\path\to\depot_tools\python276_bin\python.exe - u src/sync_chromium.py --target-revision 271c6cca48a6cef32c0f3add3b17b700707deec 5 returned non-zero exit status 2 in C:\path\to\webrtc
Hook ''C:\path\to\depot_tools\python276_bin\python.exe' -u src/sync_chromium.py --target-revision 271c6cca48a6cef32c0f3add3b17b700707deec5' took 3842.34 secs

I am using 64-bit Windows 7 with VS 2013 installed. I already tried to set the following variables:

GYP_DEFINES = 'windows_sdk_path = "C: \ path \ to \ windows \ sdk" platform = win component = shared_library'
    DEPOT_TOOLS_WIN_TOOLCHAIN โ€‹โ€‹= 0
    GYP_GENERATORS = msvs
    GYP_MSVS_VERSION = 2013

. nohooks , , gclient , . , . SDK . .

+4
1

Google Code

braveyao@webrtc.org sugestion

msvs Chromium. , . "GYP_GENERATORS = -, ". debug VS2013.

, 64 , GYP_DEFINES,

:

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

2013, Visual Studio

, , fetch webrtc ,

, Windows ( , - , ) - PT-PT , python gclient sync - , PT-PT,

, . ?

+8
source

Source: https://habr.com/ru/post/1570236/


All Articles