object.d

Robert Fraser fraserofthenight at gmail.com
Sat Feb 9 21:49:19 PST 2008


Ty Tower wrote:
> Thanks Lars
> Now Ok " object.di" is an interface file so it loads a lesser part of "object.d". Not all of "object.d"
> 
> So I am experimenting with "dwt" which I have in  directory " dwt-linux-tango"  
> Trying to compile that I get an error :-
> [tytower at linuxbox TangoExamples]$ dmd dwt-linux-tango/layout/GridLayout.d
> object.d: module object cannot read file 'object.d'
> 
> So this is a tango compatible file why is it looking for "object.d"  ?

The D compiler will report that, but is actually looking for a module 
"object". It will look for ".di" file first, then a ".d" file.


More information about the Digitalmars-d-learn mailing list