DMD v2.085.1 GitBash$ dub run Failed to invoke the compiler dmd to determine the build platform: Error: cannot find source code for runtime library file 'object.d' dmd might not be correctly installed. Run 'dmd -man' for installation instructions. config file: C:\DevEnv\D\dmd2\windows\bin\sc.ini import path[0] = C:\DevEnv\D\dmd2\windows\bin\..\..\src\phobos import path[1] = C:\DevEnv\D\dmd2\windows\bin\..\..\src\druntime\import GitBash$ DMD v2.085.0 GitBash$ dub run Performing "debug" build using dmd for x86. tmp1 ~master: building configuration "application"... Linking... Running .\tmp1.exe Edit source/app.d to start your project. GitBash$
How did you install DMD? Is there anything special about your installation?
I downloaded DMD from http://downloads.dlang.org/releases/2.x/2.085.1/dmd-2.085.1.exe. The installation path, as indicated is C:\DevEnv\D\
Is this reproducible with the recent DMD release?
No, it's not. I tested with 2.089.0 and it works fine. It was probably broken in 2.085.1 and fixed in the later version not sure which exactly.