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

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


On Saturday, 5 May 2018 at 17:13:08 UTC, IntegratedDimensions 
wrote:
>
> You need to make sure hello.d is in the current dir
>
> dir C:\D
>
> does hello.d show up?
>
> If not, then dmd can't find it and you have to tell it where it 
> is or be in the right location.
>
> type
>
> dmd ThereIsNowFileHere12342123242231231412.d
>
> and you will get the same error message.

You have to be right. I removed the directory and started making 
de hello world file again and now it works.

Thank you to everyone?

Alex




More information about the Digitalmars-d-learn mailing list