VS2013 project Configuration directx11

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.