Compiler can't locate sal.h for VS 11 Beta but file is there
-
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.
All Replies
-
Wednesday, March 07, 2012 6:23 AMModerator
Hi Youtopia,
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.
Best Regards,
Alexander Sun [MSFT]
MSDN Community Support | Feedback to us
- Edited by Alexander SunModerator Wednesday, March 07, 2012 6:47 AM
- Marked As Answer by Alexander SunModerator Wednesday, March 14, 2012 3:38 AM

