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.
- 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!