Thread overview
[Starting with D] d2html.d issues an error
May 25, 2017
Oleksii
May 25, 2017
Stefan Koch
May 26, 2017
Basile B.
May 25, 2017
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
May 25, 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

std.stream was deprecated and is now apparently removed.

May 26, 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