Re: [Starting with D] d2html.d issues an error

2017-05-25 Thread Basile B. via Digitalmars-d-learn

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


Re: [Starting with D] d2html.d issues an error

2017-05-25 Thread Stefan Koch via Digitalmars-d-learn

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.



[Starting with D] d2html.d issues an error

2017-05-25 Thread Oleksii via Digitalmars-d-learn

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