webrtc报错:Unable to load:src/third_party/usrsctp/BUILD.gn

39 篇文章 69 订阅 ¥99.90 ¥299.90
在尝试gn gen out/linux时遇到错误,无法加载//third_party/usrsctp/BUILD.gn文件。问题出现在使用git reset --hard切换到旧版本WebRTC代码后,third_party目录未更新至对应版本。解决方法是在src目录下执行gclient sync,以确保所有依赖与选定的代码版本一致。
摘要由CSDN通过智能技术生成

gn gen out/linux --args=‘is_debug=true target_os=“linux” target_cpu=“x64” is_clang=false treat_warnings_as_errors=false rtc_include_tests=false rtc_use_h264=true is_component_build=false use_custom_libcxx=false rtc_enable_protobuf=false use_rtti=true proprietary_codecs=true use_custom_libcxx_for_host=false’
ERROR at //media/BUILD.gn:438:7: Can’t load input file.
“//third_party/usrsctp”,
^----------------------
Unable to load:
/home/deviser/temp/webrtc-all/webrtc-checkout/src/third_party/usrsctp/BUILD.gn
I also checked in the secondary tree for:
/home/deviser/temp/webrtc-all/webrtc-checkout/src/build/secondary/third_party/usrsctp/BUILD.gn

笔者犯的错误是fetch --nohooks webrtc拉了最新的原码之后,

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

、、、、南山小雨、、、、

分享对你有帮助,打赏一下吧!

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值