webfreak001: Request assist installing workspace-d on Windows

Basile B. via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jul 5 13:26:36 PDT 2016


On Tuesday, 5 July 2016 at 19:58:03 UTC, Andrew Edwards wrote:
> On Tuesday, 5 July 2016 at 19:43:02 UTC, WebFreak001 wrote:
>> On Tuesday, 5 July 2016 at 19:34:48 UTC, Andrew Edwards wrote:
>>>
>>> It's more than that. Now, it fails because it can't find DMD.
>>
>> As you can see in the build.bat from DCD it is hardcoded to 
>> DMD: https://github.com/Hackerpilot/DCD/blob/master/build.bat
>>
>
> Maybe I should have been a little clearer. Following your 
> instructions from earlier (skip DCD by selecting 2,3) the 
> process failed again:
>
> 'dmd' is not recognized as an internal or external command,
> operable program or batch file.
> Error while compiling Dscanner.
> Program exited with code 1
>
>> But if DCD doesn't compile with LDC, I don't think there is a 
>> way other than getting both DMD and LDC right now except if 
>> you are on linux.
>
> It's not that LDC cannot compile DCD in this case, it's that 
> your build script is searching for DMD when it cannot use DMD.

in the .bat you can try to replace "dmd" with "ldmd2". ldmd2 
allows to compile with LDC but with DMD command line interface. I 
can't guarantee that it gonna work but this is the simpliest 
option.


More information about the Digitalmars-d-learn mailing list