错误建立在Mac上的WebRTC码(Error building the webrtc code o

2019-09-26 08:20发布

这是错误:

sys/cdefs.h' file not found

我做了什么只是按照官方的步骤,在“gclient同步--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

=====什么问题?

Answer 1:

在小牛? 尝试打字“的Xcode选--install”,弹出的对话框中安装的Xcode命令行工具。 这应该给你一个在/ usr / include目录,然后建立LLVM应该工作。

参考: http://clang-developers.42468.n3.nabble.com/Naive-Mavericks-Trunk-Build-Errors-td4035480.html



文章来源: Error building the webrtc code on mac
标签: macos webrtc