Monday, March 05, 2012 9:45 PM
I got this compilation error:
"C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\crtdefs.h(56): fatal error C1083: Cannot open include file: 'sal.h': No such file or directory"
I inspected the project's Property Pages and verified that "VC++ Directories::Include Directors::$(WindowsSdkDir)include" and $(WindowsSdkDir)=C:\Program Files (x86)\Windows Kits\8.0
The file is there under
C:\Program Files (x86)\Windows Kits\8.0\Incude\shared
I don't see any problem with the configuration nor the file. Any idea? Thanks.
Wednesday, March 07, 2012 6:23 AMModerator
Welcome to the MSDN forum.
You may want to check your default C++ include file path (in project/properties dialogbox, VC++ directories), please refer to this page: http://social.msdn.microsoft.com/Forums/sv/vcgeneral/thread/5c436c9b-63ca-4e83-87e7-f4d22c4eea8e
Second, please try to repair Visual Studio 11 and create a new project.
I hope this helps.
Alexander Sun [MSFT]
MSDN Community Support | Feedback to us