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"
@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.
Where is the DirectX SDK?
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.
VC++ Directories
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With