www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - [Starting with D] d2html.d issues an error

reply Oleksii <al.skidan gmail.com> writes:
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
next sibling parent Stefan Koch <uplink.coder googlemail.com> writes:
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 25 2017
prev sibling parent Basile B. <b2.temp gmx.com> writes:
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
May 25 2017