On 4/15/26 21:54, DLearner wrote:
On Wednesday, 15 April 2026 at 10:49:14 UTC, drug007 wrote:
On 4/15/26 10:20, Ferhat Kurtulmuş wrote:
Usually, Windows Command Prompt does not automatically recognize VS
compilers (due to PATH issues). Just run everything in a x64 Native
Tools Command Prompt for VS 2019 (or 32 bit).
Exactly! This link can be useful - https://learn.microsoft.com/en-us/
visualstudio/ide/reference/command-prompt-powershell?view=visualstudio
Thanks!
For the record, by clearing out all earlier Visual Studio's and
downloading Visual Studio 2026, and using 'Developer Powershell', I
_finally_ made it work.
However, would it not be better if the Windows DMD download was 'battery
included', in the sense that the built-in C compiler did it's own
preprocessing?
I don't think it's worth it. Too much efforts for nothing. dmd does not
contain an internal C compiler, not at all, dmd translates C to D AST.
And dmd does not contain a preprocessor in any form. So you need to
write C preprocessor from scratch.