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

David Nadlinger see at klickverbot.at
Tue Mar 29 04:25:45 PDT 2011


On 3/27/11 12:28 PM, Ishan Thilina wrote:
> When I give "dmd untitled.d" command in my ubuntu maverick 64 bit laptop I get
> the following error.
>
> "
> object.d: Error: module object is in file 'object.d' which cannot be read
> import path[0] = /etc/../../src/phobos
> import path[1] = /etc/../../src/druntime/import
> "

Your dmd.conf doesn't have the correct include path for Phobos. If you 
post it here, along with the location of the Phobos sources (the 
directory that contains object.di) on your system, we might be able to 
give you a detailed description of how to resolve this issue.

David


More information about the Digitalmars-d-learn mailing list