import resolution
RandyH
me at me.com
Sat Oct 13 21:24:29 PDT 2007
I've been playing with D on and off for a couple of years now, but now i'm taking a more serious look at it.
So far things have generally gone well, but now i'm encountering an import resolution issue. In my source, I import tango.core.Thread and compile with:
dmd main.d -IC:\dmd\tango\import\tango\core
and get the following error:
main.d(4): module Thread cannot read file 'tango\core\Thread.d'
Well Thread is an interface file, not a source file. According to the docs, the compiler looks for interface files first then source files but yet doesn't seem to be able to find it.
In fact i've encountered more occasions where i've specified the import dir on the command line but dmd is unable to see the file, but this one is my main stumbling block right now.
Any ideas?
More information about the Digitalmars-d-learn
mailing list