美文网首页
【gdb】stdio.h not found error

【gdb】stdio.h not found error

作者: _CelesteHuang_ | 来源:发表于2019-03-12 10:08 被阅读0次

参考https://github.com/frida/frida/issues/338

主要是/usr/include目录没有,gdb安装时会寻找这个目录,普通xcode-select --install 也并没有产生这个目录。
解决办法:Install the package at
/Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14. pkg
具体操作:cd /Library/Developer/CommandLineTools/Packages/
open macOS_SDK_headers_for_macOS_10.14.pkg

相关文章

网友评论

      本文标题:【gdb】stdio.h not found error

      本文链接:https://www.haomeiwen.com/subject/jdqgpqtx.html