[Issue 13265] New: Please detect the DXSDK when configuring sc.ini in the installer
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Aug 5 21:26:12 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=13265
Issue ID: 13265
Summary: Please detect the DXSDK when configuring sc.ini in the
installer
Product: D
Version: D2
Hardware: x86_64
OS: Windows
Status: NEW
Severity: enhancement
Priority: P1
Component: installer
Assignee: nobody at puremagic.com
Reporter: turkeyman at 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
--
More information about the Digitalmars-d-bugs
mailing list