compilation terminated.
In file included from <command-line>:0:0:
/usr/include/stdc-predef.h:30:26: fatal error: bits/predefs.h: 没有那个文件或目录
In file included from <command-line>:0:0:
/usr/include/stdc-predef.h:30:26: fatal error: bits/predefs.h: 没有那个文件或目录
#include <bits/predefs.h>
解决方法:apt-get
install g++-multilib
本文介绍了解决在编译过程中遇到的预定义头文件缺失错误的方法。具体而言,当遇到找不到 bits/predefs.h 文件时,可以通过安装 g++-multilib 来解决此问题。
1085

被折叠的 条评论
为什么被折叠?



