visual studio 单步调试OWT webrtc client环境搭建_owt-client只编译webrtc-CSDN博客
1.gclient sync失败错误,our depot_tools checkout is configured to fetch from an obsolete URL
解决方法:下载最新版本depot_tools https://storage.googleapis.com/chrome-infra/depot_tools.zip
2.编译命令,python build-win.py --arch=x64 --runtime=static --scheme=release --gn_gen --sdk --cg_server --output_path ../owt-x64-build
报错 The expected clang version is llvmorg-18-init-12938-geb1d5065-1 but the actual version is llvmorg-16-init-6578-g0d30e92f-1, Did you run "gclient sync"?
解决方法:owt-client-native\src\tools\clang\scripts\update.py中#CLANG_REVISION = 'llvmorg-18-init-12938-geb1d5065'为CLANG_REVISION = 'llvmorg-16-init-6578-g0d30e92f'
3.python文件编译未知错误
解决方法:使用vs2022编译不要用vs2019,开始编译在开始菜单Developer Command Prompt for VS 2022中执行命令
4.Windows 10 SDK 10.0.20348.0 sdk不匹配缺失
解决方法:vs Installer中安装对应版本sdk