5

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"

1

1 Answer 1

1

@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

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.