FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

dead?

 
Post new topic   Reply to topic     Forum Index -> Tutorials
View previous topic :: View next topic  
Author Message
prefetch



Joined: 13 Aug 2005
Posts: 6

PostPosted: Sat Aug 13, 2005 8:53 am    Post subject: dead? Reply with quote

gee, why is this forum so dead?

anyway, since there is no "help me" part of the forum, i figured this is a good place to put my new-guy question:

i get this error when compiling:

object.d: module object cannot read file 'object.d'

what does it mean? i googl'd around, and found nothing. i searched the forum, and found very little useful info on this error message.

anyway, D looks like a great language, but it'd be nice to see some "step 1, unzip the 'dmd.zip' file", "step 2...." type of tutorial, but couldnt find one.

tia.

okay - i'm brilliant. Embarassed

so here is the bonehead instructions:
http://www.digitalmars.com/d/dcompiler.html#linux

yay..
Back to top
View user's profile Send private message
jcc7



Joined: 22 Feb 2004
Posts: 657
Location: Muskogee, OK, USA

PostPosted: Sun Aug 14, 2005 10:21 pm    Post subject: Re: dead? Reply with quote

prefetch wrote:
gee, why is this forum so dead?
Not dead. People just aren't asking questions. Wink

prefetch wrote:
object.d: module object cannot read file 'object.d'

what does it mean? i googl'd around, and found nothing. i searched the forum, and found very little useful info on this error message.
My guess is that DMD isn't finding the object.d module in Phobos (I think it should be located in dmd/src/phobos). Are you using the latest version of DMD? I found a mention of someone having this problem in Linux with this a couple years ago, but it seems to have been a compiler bug: http://www.digitalmars.com/d/archives/16219.html

Someone using GDC seems to be having a problem recently with this: http://www.digitalmars.com/d/archives/D/gnu/1311.html

Another apparently had a problem in Windows due to spaces in a directory: http://www.digitalmars.com/d/archives/digitalmars/D/8053.html

prefetch wrote:
so here is the bonehead instructions:
http://www.digitalmars.com/d/dcompiler.html#linux

yay..
If you feel let down by the "official" installation guide, you might find the user-maintained version helpful: http://www.prowiki.org/wiki4d/wiki.cgi?D__Tutorial/InstallingDCompiler

2006/09/21 Edit: updated a link


Last edited by jcc7 on Thu Sep 21, 2006 1:07 am; edited 1 time in total
Back to top
View user's profile Send private message AIM Address
nascent



Joined: 07 Feb 2006
Posts: 26

PostPosted: Wed Sep 20, 2006 7:03 pm    Post subject: Reply with quote

I'm getting this too, the links aren't helping and I've had it working before using the second method on the wiki4D site.
_________________
I am myself and that is me.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
jcc7



Joined: 22 Feb 2004
Posts: 657
Location: Muskogee, OK, USA

PostPosted: Thu Sep 21, 2006 2:58 am    Post subject: Reply with quote

nascent wrote:
I'm getting this too, the links aren't helping and I've had it working before using the second method on the wiki4D site.
Since I don't use Linux, I can't help, but I know that many others do use Linux. You might try posting about your problem in one of the Digital Mars newsgroups such as dm.D.learn or D.gnu.
Back to top
View user's profile Send private message AIM Address
larsivi
Site Admin


Joined: 27 Mar 2004
Posts: 453
Location: Trondheim, Norway

PostPosted: Thu Sep 21, 2006 4:05 am    Post subject: Reply with quote

I'm wondering if I haven't heard that this happens when you have a class called Object in your project, and since this conflicts with the std lib base class (for all D classes), you get an error message. Since Object is hardwired into the compiler, the error message is rather obscure and incrompehensible.
Back to top
View user's profile Send private message
nascent



Joined: 07 Feb 2006
Posts: 26

PostPosted: Mon Oct 09, 2006 12:02 am    Post subject: Reply with quote

And for future reference, the problem was with dmd.conf, I didn't have it in the proper place.

Windows: with the dmd compiler edited so that DFLAGS=-I/"location of phobos source"

Linux: in /etc edited so that DFLAGS=-I/"location of phobos source"

Code:
[Environment]

DFLAGS=-I/usr/local/lib/phobos

_________________
I am myself and that is me.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Tutorials All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group