www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13265] New: Please detect the DXSDK when configuring sc.ini


          Issue ID: 13265
           Summary: Please detect the DXSDK when configuring sc.ini in the
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: installer
          Assignee: nobody puremagic.com
          Reporter: turkeyman gmail.com

The DirectX SDK is a super common Microsoft library that will be present for
most multimedia projects.
I particularly feel it needs to be detected by the installer to make the
experience seamless between different versions of Visual Studio.

From VS2012, the DXSDK was rolled into the Windows SDK, which is detected by
the installer. Prior to VS2012, the DXSDK was installed as a separate package. The result is, if a user uses VS2012 or higher, their multimedia apps will compile as expected. If they happen to use VS2010 or lower (I still use 2010), then their apps will fail to compile without user intervention in sc.ini. I'd like to see all versions of Visual Studio working reliably the same way out of the box, otherwise project build/setup instructions need to start having conditions and sub-sets of instructions throughout their wiki pages, ie, "If you're using VS2010 or below, follow these steps", etc. The DXSDK is located here by default: Include: C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Include Lib (x86): C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Lib\x86 Lib (x64): C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Lib\x64 The SDK installer also sets the DXSDK_DIR environment variable, so it's probably better to use: Include: %DXSDK_DIR%\Include Lib (x86): %DXSDK_DIR%\Lib\x86 Lib (x64): %DXSDK_DIR%\Lib\x64 --
Aug 05 2014