Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/google-chrome/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Macos 在mac上生成webrtc代码时出错_Macos_Webrtc - Fatal编程技术网

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应该可以工作

参考: