On Friday, 21 April 2017 at 11:23:16 UTC, XavierAP wrote:
Visual D has just added support for VS 2017 (kudos), whereas before I had to stick with 2015 at the latest. But DMD has an additional dependency on VS (for x64), and it is not documented, as far as I've been able to find, which versions.

So I just tried, and now the DMD Windows installer complains that it can't find any compatible versions of MSVC and the Windows SDK, after having installed 2017.

Is this documented somewhere that I've missed? Otherwise, would it be possible to add this information somewhere, namely which versions of what dependencies are required for what features?

The paths have changed in VS 2017 and the DMD installer hasn't been modified to pick them up yet. You can edit the paths in sc.ini manually, or you can install the MS Build Tools 2015. You can do that via the download link [1], or by running the VS 2017 installer again and:

* click 'Update' if you see it, otherwise click 'Modify'
* go to the 'Individual Components' tab
* scroll down to 'Compilers, build tools and runtimes'
* check VC++ 2015.3 v140 toolset (x86, x64)

I actually haven't tested if the DMD installer recognizes the 2015 toolset you get through the 2017 installer -- I'm assuming the paths will be the same as they are with the MS Build Tools download, but they may well be different. Regardless, editing sc.ini manually is the better option if you don't need or want the 2015 build tools.

[1] https://www.microsoft.com/en-us/download/details.aspx?id=48159

Reply via email to