1. Download the Visual Studio 2015 community (it is free) and Windows 10 SDK.

2. Create a win32 project by the Application Wizard. On the Application Settings check "Empty project" and uncheck "Security Development Lifecycle (SDL) checks".

3.  On the VC++ Directories --> Include Directories,  click on the down arrow and choose "Edit", then  add your windows sdk includes:
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\shared
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\um

4.  On the VC++ Directories --> Library Directories,  add your windows sdk library path:
C:\Program Files (x86)\Windows Kits\10\Lib\10.0.10586.0\um\x64

5.  On the Linker --> Input --> Additional Dependencies, add these static library:
d3d12.lib; dxgi.lib; d3dcompiler.lib

6. Includes these header files in your main.cpp  : windows.h, d3d12.h, DirectXMath.h, D3Dcompiler.h, dxgi.h.
Now Your development environment is ready for Direct3D 12 programming!


2016-03-11 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *