DMD VS2017 Support

John Chapman via Digitalmars-d digitalmars-d at puremagic.com
Sun Apr 30 09:31:13 PDT 2017


On Sunday, 30 April 2017 at 16:05:10 UTC, Igor wrote:
> On Sunday, 30 April 2017 at 15:53:07 UTC, Mike Parker wrote:
>> On Sunday, 30 April 2017 at 14:56:44 UTC, Igor wrote:
>>
>>>
>>> I tried updating sc.ini to new paths but I still get this 
>>> error. Can someone offer some advice?
>>
>> Which paths did you set?
>
> These are the ones I changed:
>
> VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual 
> Studio\2017\Community\VC\Tools\MSVC\14.10.25017\
> UCRTVersion=10.0.15063.0
>
> LINKCMD=%VCINSTALLDIR%\bin\HostX64\x64\link.exe
>
> PATH=%PATH%;%VCINSTALLDIR%\bin\HostX64\x64
>
> LIB=%LIB%;"%VCINSTALLDIR%\lib\x64"
>
> Same for x86 environment, except, of course I replaced x64 with 
> x86 in the values.
>
> I should also mention that compiling using DUB works. It only 
> doesn't work from VS.

Here are mine, if it helps:

VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual 
Studio\2017\Community\VC
WindowsSdkDir=C:\Program Files (x86)\Windows Kits\10
UniversalCRTSdkDir=C:\Program Files (x86)\Windows Kits\10
UCRTVersion=10.0.15063.0
LINKCMD=%VCINSTALLDIR%\Tools\MSVC\14.10.25017\bin\HostX64\x64\link.exe
PATH=%PATH%;%VCINSTALLDIR%\Tools\MSVC\14.10.25017\bin\HostX64\x64
LIB=%LIB%;"%VCINSTALLDIR%\Tools\MSVC\14.10.25017\lib\x64"
LIB=%LIB%;"%UniversalCRTSdkDir%\Lib\%UCRTVersion%\um\x64"
LIB=%LIB%;"%UniversalCRTSdkDir%\Lib\%UCRTVersion%\ucrt\x64"



More information about the Digitalmars-d mailing list