Visual Studio express 2012 cannot open include file: "windows.h": no such file or directory

When I run my project, I get fatal errors:

 Cannot open include file: 'windows.h': No such file or directory
 Cannot open include file: 'd3d11.h': No such file or directory
 Cannot open include file: 'd3dx11.h': No such file or directory

I installed the SDK, someone said that I have to set the correct path to the SDK directory, but I don’t know where to do it, in Tools->Options->Projectsand the solution I see"Option has been deprecated"

+5
source share
1 answer

@Kanglai may be here, but the error you see is related to the D3D headers is something else. The DX SDK comes separately from the Windows SDK. See This Article on MSDN.

Where is the DirectX SDK located?

, Visual ++ , , , . VS.

V++

+1

All Articles