Setting up a DirectX 11 project in Visual Studio 2013 (and Visual Studio 2012)

image   image

A question I keep receiving is how to use Visual Studio 2013 (or 2012) with the DirectX 11 (June 2010) SDK, so DX can be used on apps outside the Windows Store framework.

So, I decided to post a quick solution on this.

Luckily, it’s very simple.

What we will do is to first make sure the DX SDK is installed, then create a new VS 2013 project and set the right paths.

I) Install the DirectX 11 (June 2010)
http://www.microsoft.com/en-us/download/details.aspx?id=6812

II) Create a new empty Visual C++ project
image

 

III) Set the proper directories/paths in Project Properties
Right click the project and select properties, and the project properties window will pop up.

image

First of all, make sure the Configuration is set to All Configurations:

image

Now, select VC++ Directories from the list:
image

The last thing we need to do is to set the Include directory, the Libraries directory and optionally the executables directory:

EXE: $(DXSDK_DIR)Utilities\bin\x86
Inc: $(DXSDK_DIR)Include
Lib: $(DXSDK_DIR)Lib\x86;$(LibraryPath)

This is done by clicking the dropdown arrow on the end of the text fields and clicking edit:
image

In the popup, click the right side of the text box to set the path, or paste in the path above:

image

 

Do this for the Executables Directories, the Include Directories and the Library Directories properties.

Good luck and enjoy DirectX 11 development in Visual Studio 2013 ! Smile

This entry was posted in DirectX, DirectX11, Visual Studio 2012, visual studio 2013, VS12, VS13. Bookmark the permalink.

2 Responses to Setting up a DirectX 11 project in Visual Studio 2013 (and Visual Studio 2012)

  1. cute says:

    Hey there are using WordPress for your site platform? I’m new to the blog world
    but I’m trying to get started and set up my own.
    Do you require any coding knowledge to make your own blog?
    Any help would be greatly appreciated!

  2. Vikas says:

    thanks!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.