Tips on Building WebRTC on Windows

时间:2023-01-27 17:11:26

Problem: Git ask me to input git user and password

Solution: Set environment variable SET DEPOT_TOOLS_WIN_TOOLCHAIN=0

Problem: rtc_base.lib : fatal error LNK1107: invalid or corrupt file: cannot read at 0x3945A

Solution: WebRTC used clang to build the system, we have to use MSVC toolchain, add arguments is_clang=false use_lld=false to create build make.