Directx10 Study Notes <01> build an environment-configure DirectX in Visual Studio

Source: Internet
Author: User

I. Tool download

IDE: Visual Studio 2008

SDK: DirectX SDK, which can be downloaded from Microsoft's website for free. The SDK also contains examples, tools, and documents. Built-in tools are very useful. We often use the DDS texture tool.

2. Set Visual Studio 2008

Menu Bar-> Tools-> options...

Select projects and solutions-> VC ++ directories on the left

Show directiories for on the right: Select include files and add the include directory of DirectX SDK to the following window:

Show directiories for on the right: Select library files and add the lib directory of DirectX SDK to the following window.

Now, all DirectX projects will be correctly compiled, similar to the following error "cannot open include file: 'd3d10. H': no such file or directory" will no longer appear. These settings are automatically applied to Win32 configurations and will apply to all new projects in the future. You do not need to set them again.

Related Article

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.