Macos 在mac上生成webrtc代码时出错
这就是错误:Macos 在mac上生成webrtc代码时出错,macos,webrtc,Macos,Webrtc,这就是错误: sys/cdefs.h' file not found 我所做的只是按照官方步骤进行,“gclient sync--force”会提示以下错误: In file included from /Users/ted/Desktop/webrtcSrc/WD/trunk/third_party/llvm/projects/compiler-rt/lib/asan/asan_fake_stack.cc:14: In file included from /Users/ted/Deskto
sys/cdefs.h' file not found
我所做的只是按照官方步骤进行,“gclient sync--force”会提示以下错误:
In file included from /Users/ted/Desktop/webrtcSrc/WD/trunk/third_party/llvm/projects/compiler-rt/lib/asan/asan_fake_stack.cc:14:
In file included from /Users/ted/Desktop/webrtcSrc/WD/trunk/third_party/llvm/projects/compiler-rt/lib/asan/asan_allocator.h:19:
In file included from /Users/ted/Desktop/webrtcSrc/WD/trunk/third_party/llvm/projects/compiler-rt/lib/asan/asan_interceptors.h:18:
/Users/ted/Desktop/webrtcSrc/WD/trunk/third_party/llvm/projects/compiler-rt/lib/interception/interception.h:90:10: fatal error: 'sys/cdefs.h' file not found
=====
什么问题 小牛队?尝试键入“xcode选择--install”弹出对话框来安装xcode命令行工具。这将为您提供一个/usr/include目录,然后构建LLVM应该可以工作
参考: