Error: module `hello` is in file 'hello.d' which cannot be read

Alex alexgyg at msn.com
Sat May 5 17:10:17 UTC 2018


On Saturday, 5 May 2018 at 12:26:20 UTC, Bauss wrote:
> Try to add
>
> module hello;
>
> To the top of the file

Still not working. I tryed both module hello; and module 'hello';



C:\D\dmd2\sources>dmd hello.d
Error: module `hello` is in file 'hello.d' which cannot be read
import path[0] = C:\D\dmd2\windows\bin\..\..\src\phobos
import path[1] = C:\D\dmd2\windows\bin\..\..\src\druntime\import

C:\D\dmd2\sources>


More information about the Digitalmars-d-learn mailing list