-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
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
cstdlib:75:15: fatal error: stdlib.h: No such file or directory #278
Comments
This occurs throughout Qt in later versions with newer compilers. The way to fix it is to edit mkspecs/common/gcc-base.conf Change I have been doing this since Qt 5.10.0 at least |
Thanks! I found out it's simpler to just call |
If I don't fix it at source, I am liable to waste time the next time it occurs, remembering what I did to fix it last 😝 |
@ArcEye and @l29ah /Downloads/gcc-linaro-7.4.1-2019.02-x86_64_aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/7.4.1/../../../../aarch64-linux-gnu/bin/ld: final link failed: Bad value |
hi guys where can I find this "QMAKE_CFLAGS_ISYSTEM = -isystem" |
I had the same problem recently. I believe the issue was due to multiple gcc versions. A easy fix was to navigate to c++/8/ folder and replace all #include_next with #include . The files stdlib.h are present in the same directory itself and hence #include does the job. |
Trying to build QtQuickVcp using gcc-7.3.0, getting a bunch of such errors:
Removing
-isystem /usr/include
from the compiler args fixes it.The text was updated successfully, but these errors were encountered: