On Wednesday, 27 November 2024 at 20:47:04 UTC, Richard (Rikki) Andrew Cattermole wrote:
On 28/11/2024 2:47 AM, jmh530 wrote:
On Wednesday, 27 November 2024 at 04:37:53 UTC, Richard (Rikki) Andrew Cattermole wrote:
This is odd.

You shouldn't be getting this for a default install of dmd.

The import paths (``-I``) are not pointing at druntime inside of sc.ini config file.

Is there any information I can provide that will help diagnose? Would the contents of sc.ini help?

A stock install of dmd should "just work".

But yes, that would help.

Looks like my sc.ini is the same as another machine where dmd seems to be working.

I think the issue might be that druntime didn't get installed (comparing the folders in C:\D\dmd2\src between the computer that works and the computer that doesn't).

```
[Version]
version=7.51 Build 020


; environment for both 32/64 bit
[Environment]
DFLAGS="-I%@P%\..\..\src\phobos" "-I%@P%\..\..\src\druntime\import"

; optlink only reads from the Environment section so we need this redundancy
; from the Environment32omf section (bugzilla 11302)
LIB="%@P%\..\lib"

[Environment32]
LIB=%@P%\..\lib32mscoff

[Environment32omf]
LIB="%@P%\..\lib"
LINKCMD=%@P%\optlink.exe

[Environment64]
LIB=%@P%\..\lib64

; -----------------------------------------------------------------------------
[Environment32mscoff]
LIB=%@P%\..\lib32mscoff
```
  • DMD 2.109.1 not ... jmh530 via Digitalmars-d-learn
    • Re: DMD 2.1... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
      • Re: DMD... Salih Dincer via Digitalmars-d-learn
        • Re:... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
      • Re: DMD... jmh530 via Digitalmars-d-learn
        • Re:... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
          • ... jmh530 via Digitalmars-d-learn
            • ... jmh530 via Digitalmars-d-learn

Reply via email to