[Starting with D] d2html.d issues an error

Basile B. via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu May 25 22:42:06 PDT 2017


On Thursday, 25 May 2017 at 15:02:33 UTC, Oleksii wrote:
> Hi everyone,
>
> Could you please help me? I'm get the following error from 
> all.sh:
>
>   $ /e/D/dmd2/windows/bin/shell.exe all.sh
>   shell 1.05
>   ..\..\windows\bin\dmd d2html
>   d2html.d(18): Error: module stream is in file 'std\stream.d' 
> which cannot be read
>   import path[0] = E:\D\dmd2\windows\bin\..\..\src\phobos
>   import path[1] = 
> E:\D\dmd2\windows\bin\..\..\src\druntime\import
>
>   --- errorlevel 1
>
> Where is std\stream.d located, and how can I make DMD find it?
>
> Thanks,
> --
> Oleksii

Examples will work again in the next DMD release. Recently 
There's been some changes to fix them all. For now you can copy 
the new versions from the repository.

https://github.com/dlang/dmd/tree/master/samples


More information about the Digitalmars-d-learn mailing list