wujunze@Mac: ~/tmp
$ cat hello.c [12:59:51]
#include <stdlib.h>
int main() { exit(0); }
wujunze@Mac: ~/tmp
$ clang hello.c [12:59:53]
hello.c:1:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
^~~~~~~~~~
1 error generated.
FAIL
尝试过 执行 xcode-select install
后仍然报错
有没有遇到过的朋友 帮忙看看### 问题描述
cd /Library/Developer/CommandLineTools/Packages/
open macOS_SDK_headers_for_macOS_10.14.pkg