[Solved] stddef.h no such file or directory
-
wrote on 22 Mar 2014, 11:20 last edited by
I installed Qt creator and then Qt library-mingw on Window system.
I tried to compile an example code in the Qt Creator but I got the error message.
Mabe 'stddef.h' is one of c++ headers.
I think that the Qt Creator is not connected to mingw.
What should be set or changed in Qt Creator option?
I tried to add INCLUDEPATH to Build environment variables in QtCreator but still not working.[Eddy : fixed typos in title]
-
wrote on 22 Mar 2014, 15:15 last edited by
Hi, mqw00058,
Welcome to the forum.
Can you tell us: How did you install Qt? Where did you get it from? OS?
-
wrote on 22 Mar 2014, 15:26 last edited by
-
wrote on 22 Mar 2014, 15:38 last edited by
Can you check you environment variables?
is PATH pointing to your mingw/bin directory? -
wrote on 23 Mar 2014, 07:57 last edited by
Thank you so much.
After the mingw/bin directory path is added to PATH variable in Build Environment of QtCreator, it works now.
-
wrote on 23 Mar 2014, 08:13 last edited by
I'm glad it's working now.
Could you please edit your title of your first post and add [Solved] to it next time. I did it for you here to show how we like it. thanks.
-
6/6