New LDC user. Real stupid question.

drug drug2004 at bk.ru
Wed Oct 18 19:18:39 UTC 2017


18.10.2017 21:18, WhatMeWorry пишет:
> 
> 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.
it finds `include` folder next to `bin` one and fails. You should 
extract it too.


More information about the digitalmars-d-ldc mailing list