New LDC user. Real stupid question.

WhatMeWorry kheaser at gmail.com
Wed Oct 18 18:18:18 UTC 2017


I'm not even out of the gate.  Followed instructions at,

https://wiki.dlang.org/Latest_LDC_binaries_for_Windows

- Head over to the GitHub release and download the latest x64/x86 
.7z artifact at the bottom.
- Extract it somewhere.
- Use the executables bin\ldc2.exe and/or bin\ldmd2.exe.


Downloaded and extracted on windows 10 at c:\ldc\bin\...

Created a tiny d program called GC.d in same directory.

PS C:\LDC\bin> ldmd2 GC.d
Error: cannot find source code for runtime library file 'object.d'
        ldc2 might not be correctly installed.
        Please check your ldc2.conf configuration file.
        Installation instructions can be found at 
http://wiki.dlang.org/LDC.
import path[0] = C:\D\dmd2\windows\bin\..\include\d\ldc
import path[1] = C:\D\dmd2\windows\bin\..\include\d

I've looked at
http://wiki.dlang.org/LDC
and
https://wiki.dlang.org/Building_and_hacking_LDC_on_Windows_using_MSVC
and don't seem to see a possible solution.  What am I doing wrong?

thanks.


More information about the digitalmars-d-ldc mailing list