digitalmars.D.learn - Install D lang on Windows 10 : an installation step by step tutorial
- SMAOLAB (17/17) Apr 18 2022 Hello everyone,
- Dennis (8/13) Apr 18 2022 What went wrong when you used the DMD installer? Installing
- Anonymouse (9/13) Apr 18 2022 "Download and install Visual Studio 2019" is preselected in the
- SMAOLAB (12/15) Apr 18 2022 Nothing really, the thing that went really wrong is the Microsoft
- SMAOLAB (6/9) Apr 18 2022 you should read :
Hello everyone, I am a newbie in the D langage. I tried to install D on a Windows 10 but encountered some difficulties (even though I was reading the official D langage tutorial available on the official website). I guess that for someone who has a totally new PC, new & fresh Windows 10 operating system, well, installing D&co, it's not so easy... :-) This is why I decided to publish a tutorial on how to install D lang on a fresh Windows 10 (step by step tutorial). Here is the link to the tutorial: https://p0nce.github.io/d-idioms/#Installing-Dlang-on-Windows I hope that this "simple" document will complete the official D installation tutorial. Have a nice reading and don't hesitate to send me your comments, I will improve the document... Regards
Apr 18 2022
On Monday, 18 April 2022 at 08:22:43 UTC, SMAOLAB wrote:I tried to install D on a Windows 10 but encountered some difficulties (even though I was reading the official D langage tutorial available on the official website).What went wrong when you used the DMD installer? Installing Visual Studio should not be necessary, since DMD ships with the lld linker and MinGW Windows import libraries. If it doesn't work out of the box, it should be fixed. Nevertheless, thanks for writing the detailed instructions.Have a nice reading and don't hesitate to send me your comments, I will improve the document...I don't see the guide (explicitly) installing git, but I recall dub needing it to install packages. Is that covered?
Apr 18 2022
On Monday, 18 April 2022 at 09:04:24 UTC, Dennis wrote:What went wrong when you used the DMD installer? Installing Visual Studio should not be necessary, since DMD ships with the lld linker and MinGW Windows import libraries. If it doesn't work out of the box, it should be fixed."Download and install Visual Studio 2019" is preselected in the installer, so you have to know to pick "Install VC2010 redistributables to use it with the MinGW Platform libraries" to opt out. I guess it's not *necessary* but it certainly encourages new users to install it. (I'd subjectively argue the VC2010/MinGW option should be the default, the whole of VS2019 is a very hefty download and not my IDE of choice.)
Apr 18 2022
Dear Community, Thanks for your reactions/feedbacks.What went wrong when you used the DMD installer?Nothing really, the thing that went really wrong is the Microsoft Visual Studio (which licence I should install to get my D / Dplug program work). Next, I use LDC rather than DMD (but this only for my goal to develop DPLUG codes). After I noticed that if you don't install VisualD and Microsoft Visual Studio you may have issues (you don't see the DMD extension for instance, the PATH is not set) On Monday, 18 April 2022 at 09:04:24 UTC, Dennis wrote:I don't see the guide (explicitly) installing git, but I recall dub needing it to install packages. Is that covered?Yeap, I will add it and update the D-idioms. Thanks !
Apr 18 2022
On Monday, 18 April 2022 at 16:20:38 UTC, SMAOLAB wrote:After I noticed that if you don't install VisualD and Microsoft Visual Studio you may have issues (you don't see the DMD extension for instance, the PATH is not set)you should read : After I noticed that if you don't install **in the right order** VisualD and Microsoft Visual Studio you may have issues (you don't see the DMD extension for instance, the PATH is not set). sorry :-)
Apr 18 2022