• Advertisement
Sign in to follow this  

Do i need to download the DirectX SDK on Windows 10?

This topic is 556 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi,
 
So, i worked on a DX11 thing a back when i was on Windows 7, then shelved the code for a bit.
Now i am on Windows 10 and i cannot build it anymore. Getting a lot of 
 
Error C1083 Cannot open include file: 'd3dx11.h': No such file or directory ....
 
So my first instinct was to install the DirectX SDK, but i remember reading somewhere that the DirectX SDK was now included in Windows SDK.
I even found the source: https://msdn.microsoft.com/en-us/library/windows/desktop/ee663275.aspx?f=255&MSPPError=-2147217396
 
So now, this article is a bit confusing to me because it starts with:
 
Because the Windows SDK is the primary developer SDK for Windows, DirectX is now included in it. You can now use the Windows SDK to build great games for Windows. To download the Windows 8 SDK, see Downloads for developing desktop apps.

Then they add:

Using DirectX SDK projects with Visual Studio

The samples from the June 2010 DirectX SDK are supported with premium Visual Studio SKUs (Microsoft Visual Studio Professional 2012, Microsoft Visual Studio Ultimate 2012, Microsoft Visual Studio Professional 2013, or Microsoft Visual Studio Ultimate 2013) on Windows 7 and the Windows 8 and later releases. Due to the transition of DirectX headers and libraries into the Windows SDK, changes to the project settings are needed to build these samples correctly with how the Windows 8 SDK and later is packaged with the premium Visual Studio SKUs.

 

These steps also apply to your own projects that are dependent on the DirectX SDK.

  1. Ensure that the June 2010 release of the DirectX SDK is installed on your development computer. If you install onto a computer running Windows 8 and later, you will be prompted and required to enable .NET 3.5 as a prerequisite installation to the DirectX SDK.

 

Is this because i switched to Visual Studio Community 2015 and it is not packaged as a 'Premium Visual Studio SKUs'?

 

 

Thanks!

Share this post


Link to post
Share on other sites
Advertisement

d3d11.h is the newer version of d3dx11.h.  Check #5 from the link you supplied for more info.

Edited by fleabay

Share this post


Link to post
Share on other sites

You can either use the Windows SDK, or you can use the old DirectX SDK from March 2010 (I think that's the last/latest version of it).
 
These have slightly different version of the D3D headers/libs (the Windows SDK ones are newer of course). Some apps may require a few updates to their own code when moving form the old DirectX SDK to the newer Windows SDK. Those "Then they add" are instructions for working with projects that specifically require the old 2010 version of the DirectX SDK.


June 2010 for the stand alone sdk.

Share this post


Link to post
Share on other sites

You can either use the Windows SDK, or you can use the old DirectX SDK from March 2010 (I think that's the last/latest version of it).

 

These have slightly different version of the D3D headers/libs (the Windows SDK ones are newer of course). Some apps may require a few updates to their own code when moving form the old DirectX SDK to the newer Windows SDK. Those "Then they add" are instructions for working with projects that specifically require the old 2010 version of the DirectX SDK.

 

Thanks, i'll try to port everything to use the Windows 10 SDK.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement