Can't figure out how to use the compiler
anonymous via Digitalmars-d
digitalmars-d at puremagic.com
Mon Apr 21 14:49:38 PDT 2014
On Monday, 21 April 2014 at 19:40:01 UTC, Plorf wrote:
> I downloaded the DMD Windows compiler, installed it in the
> default directory, added its location to the system path,
> restarted my computer and wrote a sample "hello, world"
> program, and it won't compile; instead it says "Error: cannot
> read file hello.d". My computer is 64-bit, if that matters at
> all. Can someone please explain how to get the DMD compiler to
> work or provide some links? This has really been frustrating
> me. Thanks.
Does `dmd` without any arguments print the usual kerfuffle
(version, copyright, usage)?
Could it be that the file is called "hello.d.txt" and the
extension is hidden? What does `dir hello.d` say?
More information about the Digitalmars-d
mailing list