{"id":463,"date":"2016-02-17T21:11:34","date_gmt":"2016-02-17T13:11:34","guid":{"rendered":"http:\/\/www.cgdev.net\/blog\/?p=463"},"modified":"2019-01-26T18:23:38","modified_gmt":"2019-01-26T10:23:38","slug":"direct3d-12-tutorial-1-setting-up","status":"publish","type":"post","link":"https:\/\/www.cgdev.net\/blog\/463.html","title":{"rendered":"Direct3D 12 Setting up Development Environment"},"content":{"rendered":"<p>1. Download the Visual Studio 2015 community (it is free) and <a href=\"https:\/\/developer.microsoft.com\/en-us\/windows\/downloads\/windows-10-sdk\" target=\"_blank\">Windows 10 SDK<\/a>.<\/p>\n<p>2.\u00a0Create a win32 project by the Application Wizard. On the Application Settings check &#8220;Empty project&#8221; and uncheck &#8220;Security Development Lifecycle (SDL) checks&#8221;.<\/p>\n<p>3. \u00a0On the VC++ Directories &#8211;&gt; Include Directories,\u00a0 click on the down arrow and choose &#8220;Edit&#8221;, then\u00a0 add your windows sdk includes:<br \/>\nC:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10586.0\\shared<br \/>\nC:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10586.0\\um<\/p>\n<p>4. \u00a0On the VC++ Directories &#8211;&gt; Library Directories,\u00a0 add your windows sdk library path:<br \/>\nC:\\Program Files (x86)\\Windows Kits\\10\\Lib\\10.0.10586.0\\um\\x64<\/p>\n<p>5. \u00a0On the Linker &#8211;&gt; Input &#8211;&gt; Additional Dependencies, add these static library:<br \/>\nd3d12.lib; dxgi.lib; d3dcompiler.lib<\/p>\n<p>6. Includes these header files in your main.cpp\u00a0 : windows.h, d3d12.h, DirectXMath.h, D3Dcompiler.h, dxgi.h.<br \/>\nNow Your development environment is ready for Direct3D 12 programming!<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. Download the Visual Studio 2015 community (it is free) and Windows 10 SDK. 2.\u00a0Create a win32 project by the Application Wizard. On the Application Settings check &#8220;Empty project&#8221; and uncheck &#8220;Security Development Lifecycle (SDL) checks&#8221;. 3. \u00a0On the VC++ Directories &#8211;&gt; Include Directories,\u00a0 click on the down arrow and choose &#8220;Edit&#8221;, then\u00a0 add your [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[27],"class_list":["post-463","post","type-post","status-publish","format-standard","hentry","category-dxtools","tag-d3d12"],"_links":{"self":[{"href":"https:\/\/www.cgdev.net\/blog\/wp-json\/wp\/v2\/posts\/463","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cgdev.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cgdev.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cgdev.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cgdev.net\/blog\/wp-json\/wp\/v2\/comments?post=463"}],"version-history":[{"count":0,"href":"https:\/\/www.cgdev.net\/blog\/wp-json\/wp\/v2\/posts\/463\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.cgdev.net\/blog\/wp-json\/wp\/v2\/media?parent=463"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cgdev.net\/blog\/wp-json\/wp\/v2\/categories?post=463"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cgdev.net\/blog\/wp-json\/wp\/v2\/tags?post=463"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}