[Issue 13265] 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:40:06 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=13265

Brad Anderson <eco at gnuk.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eco at gnuk.net

--- Comment #1 from Brad Anderson <eco at gnuk.net> ---
> 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

If that's all that is needed we should just put them in the distributed sc.ini:
https://github.com/D-Programming-Language/dmd/blob/master/ini/windows/bin/sc.ini


Under [Environment32] (could be useful if Rainer's 32-bit COFF support
happens):
LIB=%LIB%;"%DXSDK_DIR%\Lib\x86"


Under [Environment64]:
LIB=%LIB%;"%DXSDK_DIR%\Lib\x64"


I'm not familiar enough with DirectX these days to test this but if you could
test that doing that works, either you or I could make a quick pull request to
implement this.

--


More information about the Digitalmars-d-bugs mailing list