Assume that you have installed the Direct11 SDK (officially the latest version) and VS2013, and set up a new project in VS2013.
After opening the project with VS2013, click the Right button property, select VC + + directory:
Where add $ (dxsdk_dir) include in the Include directory;
Add $ (Dxsdk_dir) lib\x86 in the library directory;
Of course, this step can also be directly through the Edit button Pop-up dialog box, to visualize the selection of folders.
Then select input in the connector to add the necessary link libraries (. lib files in the installation file bin) to the additional dependencies
Add the following lib:
DxErr.lib
Dxguid.lib
D3dx9d.lib
D3dx10d.lib
D3d9.lib
Winmm.lib
Comctl32.lib
D3d11.lib
D3dx11.lib
D3dx11d.lib
With the above can be developed on the VS2013 directx11.
Note: If a large number of Warning:C4005:DXGI_STATUS_OCCLUDED are prevalent at compile time, the macro redefinition warning is resolved as follows:
In the project Properties-->vc++ directory--Include directory: Put $ (windowssdk_includepath) in front of the $ (dxsdk_dir) include .
VS2013 project Configuration directx11