Error compiling test code

Larry Hemsley via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon May 19 20:17:16 PDT 2014


I just installed dmd on Mint Linux distro using the Ubuntu dep
package.
Ran a simple test program test.d and recieved this error.

test.d(1): Error: module stdio is in file 'stdio.d' which cannot
be read
import path[0] = /usr/include/dmd/phobos
import path[1] = /usr/include/dmd/druntime/import

Checked dmd.conf in the /etc folder and it is there.
Checked include files in /usr/include/dmd and thery are there.
Checked Lib location in dmd.conf and it appears to be there.

Any hints on what is wrong will be appreciated.


More information about the Digitalmars-d-learn mailing list