Bug 19818 – Error: cannot find source code for runtime library file 'object.d'

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
installer
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2019-04-22T19:00:22Z
Last change time
2019-12-13T23:48:09Z
Assigned to
No Owner
Creator
Arun Chandrasekaran

Comments

Comment #0 by aruncxy — 2019-04-22T19:00:22Z
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$
Comment #1 by greeenify — 2019-04-22T22:28:26Z
How did you install DMD? Is there anything special about your installation?
Comment #2 by aruncxy — 2019-04-22T23:34:00Z
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\
Comment #3 by moonlightsentinel — 2019-12-13T22:33:47Z
Is this reproducible with the recent DMD release?
Comment #4 by aruncxy — 2019-12-13T23:48:09Z
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.