-
Notifications
You must be signed in to change notification settings - Fork 222
Description
With the Windows SDK 8 Microsoft merged the previously separate DirectX SDK into the Windows SDK. It appears MyGUI never followed this change as building it for Windows still requires the old DirectX SDK.
Changes that affect MyGUI are:
- D3DX was removed. This means texture loading no longer works as it used to. DirectXTex provides an alternative that only requires a few changes.
- Since DirectX is now part of the Windows SDK, header and library files can be used without setting a path in the project settings. A path to said files is no longer required in CMake.
Implementing a fix to the first problem was easy enough. DirectXTex can be included in a project using Visual Studio's packet manager NuGet, a process that could probably be automated. However, for the SDK path further changes to the CMake files are required. Right now a VS solution can only be built if the path to the old DirectX SDK is provided. After that every project configuration has to be edited manually to remove the path to the library files.
I would be willing to make these changes and submit them once they are ready but there is one question: Should the build with the old DirectX SDK be abandoned in favour of the newer Windows SDK or should there be a second DirectX 11 platform using the Windows SDK?