Compilation error: stddef.h: No such file or directory
The error is because your gcc-core package and gcc-g++ are not of the same version. Either downgrade one of them to solve the problem or update both the libraries. Updating both the libraries is the recommended way.
C++ SDL (Visual Studio 2015): cannot open file stddef.h
Suggestions: Use the dropdown, (inherit from parent or project defaults) to repair the visual c++ directories which you shouldn't ever edit.
Don't add it to the c++ directories, That's a weird idea. Add it to Configuration Properties > c/c++ > additional include directories. If you had done that, then you couldn't have possibly messed up the compiler. It's a lot simpler too. Just paste the one directory in there. That's what it's meant for.
Also Lazy Foo seems to only to have a VS2010 guide. Maybe I just couldn't find the VS2015 guide...
Trying to build qt creator from source with MSVC: Cannot open include file: 'stddef.h': No such file or directory
The problem was that I was using wrong command prompt. I used Qt command prompt but had to use MVS command prompt.
Related Topics
Use Channel Hiearchy of Boost.Log for Severity and Sink Filtering
For Nested Templates, When Did '>>' Become Standard C++ (Instead of '> >')
Get Base Class for a Type in Class Hierarchy
Using C++ to Edit the Registry
How to Use the Non-Default Constructor for a Member
How to Truncate a Floating Point Number After a Certain Number of Decimal Places (No Rounding)
Why Doesn't Left Bit Shift << Shift Beyond 31 for Long Int Datatype
Hash an Arbitrary Precision Value (Boost::Multiprecision::Cpp_Int)
Qml and C++ Image Interoperability
Is a Union Member's Destructor Called
Non-Copyable Elements in Vector
How to Use Parameters for the Table Name in SQLite3
Sorting a Std::Vector<Std::Pair<Std::String,Bool>> by the String
C++: Can Vector<Base> Contain Objects of Type Derived