添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement . We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/usr/include/c++/9/cstdlib:75:15: fatal error: stdlib.h: 没有那个文件或目录
75 | #include_next <stdlib.h>
| ^~~~~~~~~~
compilation terminated.
make: *** [Makefile:1234:main.o] 错误 1

Hi,This is due to the fact that gcc7 has been included in the libstdc .h for better optimization, C Library's header file stdlib.h uses Include_next, and include_next is sensitive to the gcc system header file path.
Solve:Add the following next line to the bandage.pro file QMAKE_CFLAGS_ISYSTEM -I.