Visual Studio 2010 cannot find cstddef
I am trying to compile a C ++ solution in VS 2010, but for some reason it cannot find the standard libraries.
I include like this:
#include <cstddef>
VS returns error like this:
main.cpp(10): fatal error C1083: Cannot open include file: 'cstddef': No such file or directory
However, I check my install directory and it is right where it should be (VC \ include) and that directory is listed in my included directories in the project settings (including $ (VCInstallDir)).
Any ideas why this is happening and how I can fix it?
+3
source to share