DMD 2.109.1 not detecting object

jmh530 john.michael.hall at gmail.com
Wed Nov 27 01:45:30 UTC 2024


It seems like dmd is in the path properly (version 2.109.1), but 
I'm getting an error about object not being found. I tried 
uninstalling and installing again.

Any idea what the issue is?

This machine is using Windows 10.

```
C:\Users\[User Name]\Documents\GitHub\mir-algorithm>dmd --version
DMD64 D Compiler v2.109.1
Copyright (C) 1999-2024 by The D Language Foundation, All Rights 
Reserved written by Walter Bright

C:\Users\[User Name]\Documents\GitHub\mir-algorithm>dub test
      Warning Package at path 'C:\Users\[User 
Name]\AppData\Local\dub\packages\mir_benchmarks_2-master\' should 
be under 'C:\Users\[User 
Name]\AppData\Local\dub\packages\mir_benchmarks_2-master\$VERSION\mir_benchmarks_2-master'
      Warning The package will no longer be detected starting from 
v1.42.0
              Generating test runner configuration 
'mir-algorithm-test-default' for 'default' (library).
     Starting Performing "unittest" build using 
C:\D\dmd2\windows\bin64\dmd.exe for x86_64.
     Building mir-core 1.7.1: building configuration [library]
Error: `object` not found. object.d may be incorrectly installed 
or corrupt.
        dmd might not be correctly installed. Run 'dmd -man' for 
installation instructions.
        config file: C:\D\dmd2\windows\bin64\sc.ini
Error C:\D\dmd2\windows\bin64\dmd.exe failed with exit code 1.
```


More information about the Digitalmars-d-learn mailing list