#include <string.h> 克朗找不到string.h。然后我给它一个更好的路径,但是找不到另一个文件:
[build] /usr/include/string.h:26:10: fatal error: bits/libc-header-start.h: No such file or directory
[build] #include <bits/libc-header-start.h>
[build] ^~~~~~~~~~~~~~~~~~~~~~~~~~我该怎么办?
我可以为我的"llvm“环境下载string.h并粘贴到那里吗?:
/usr/include/llvm-10/llvm

发布于 2021-11-04 06:27:16
如果您使用的是ubuntu系统,将来遇到这样的问题,可以通过输入以下命令找到答案:
apt-file search bits/libc-header-start.h然后使用apt-get install xxx下载相应的库文件。如果是红帽系统或其他系统,应该有类似的命令。

https://stackoverflow.com/questions/69835099
复制相似问题