Reputation: 11265
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 have installed SDK, someone tell that I must set correct path to SDK directory, but I not know where to do it, in Tools->Options->Projects
and solution I see "Option has been deprecated"
Upvotes: 5
Views: 5624
Reputation: 13723
@Kanglai may be right here but the error you are seeing related to the D3D headers is something different. The DX SDK ships separately from the Windows SDK. See this article on MSDN.
The way Visual C++ handles directories has changed in recent versions, hence the deprecated message. The following blog post explains the changes and how to do the same thing in the newer versions of VS.
Upvotes: 1