Thread overview
DMD requirements (VC runtime version) where?
1 day ago
XavierAP
1 day ago
Mike Parker
1 day ago
XavierAP
1 day ago
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?
1 day ago
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
1 day ago
On Friday, 21 April 2017 at 11:37:07 UTC, Mike Parker wrote:

> sc.ini manually is the better option if you don't need or want the 2015 build tools.

Thanks!

Nevertheless I think it would be good that the supported version of VS is documented on the website of DMD, just like it is on VisualD's. When the installer is updated, this document/webpage can be updated as well.

I don't immediately know how to find VS paths/exes and how to insert manually into sc.ini... But the VS extension manager is giving me some weird error message, so I'll just switch to 2015, even uninstall 2017.