D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 19818 - Error: cannot find source code for runtime library file 'object.d'
Summary: Error: cannot find source code for runtime library file 'object.d'
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: installer (show other issues)
Version: D2
Hardware: x86 Windows
: P1 regression
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-22 19:00 UTC by Arun Chandrasekaran
Modified: 2019-12-13 23:48 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Arun Chandrasekaran 2019-04-22 19:00:22 UTC
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 Seb 2019-04-22 22:28:26 UTC
How did you install DMD?
Is there anything special about your installation?
Comment 2 Arun Chandrasekaran 2019-04-22 23:34:00 UTC
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 moonlightsentinel 2019-12-13 22:33:47 UTC
Is this reproducible with the recent DMD release?
Comment 4 Arun Chandrasekaran 2019-12-13 23:48:09 UTC
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.