DirectX SDK integration with VS 2010

I'm not sure anyone noticed, but there seems to be a conflict with the DirectX SDK and VS2010 Windows SDK. If you look in the folder under the directory

C: \ Program Files (x86) \ Microsoft SDKs \ Windows \ v7.0A \ Include

You will see that it contains the old headers for DirectX 11. The above directory is included by default in every VS 2010 project file and is necessary for VS 2010 to compile correctly.

The same is true for .lib files for DirectX.

Now the problem is to include the DirectX SDK in your project in VS2010, you add directories through the project properties sheet. This automatically means that you include both old headers and libraries for DirectX, as well as new ones ... :(

If you think you are building the latest versions of DirectX and header files, you may well be mistaken, because the compiler may use unintended files.

How can I get around this problem since I cannot compile anything without saving the project settings by default?

Also in mind that I am using C ++ and VS2010 Ultimate from MSDNAA.

+3
source share
1 answer

Short answer: It probably doesn't matter.

DXSDK DLL, . , / DXSDK v7.0A. , DLL . ( : D3DX_xx.dll - , SDK ). , DXSDK, , v7.0a.

, lib, " " , SDK . .

... / DXSDK .

Visual Studio: "- > ".

"" " " " V++" .

" " " ".

$(DXSDK) $(WindowsSdkDir). , .

" " " ".

0

All Articles