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

how to use phobos

 
Post new topic   Reply to topic     Forum Index -> General
View previous topic :: View next topic  
Author Message
james



Joined: 28 Feb 2009
Posts: 6

PostPosted: Sat Feb 28, 2009 8:23 pm    Post subject: how to use phobos Reply with quote

Code:
import std.file;
...........
std.file.mkdirRecurse(thisfilestore);


Code:
gdc -o photo photo.d
photo.d:27: Error: undefined identifier module file.mkdirRecurse


do i have to tell gdc to use phobos? how?

thanks for help with newbie q Smile
Back to top
View user's profile Send private message
james



Joined: 28 Feb 2009
Posts: 6

PostPosted: Sat Feb 28, 2009 8:55 pm    Post subject: Reply with quote

gdc 4.2.3-1ubuntu6
libphobos-4.2-dev 0.25-4.2.4-1ubuntu1

a version problem?
Back to top
View user's profile Send private message
james



Joined: 28 Feb 2009
Posts: 6

PostPosted: Sat Feb 28, 2009 10:17 pm    Post subject: Reply with quote

ok, so that func is D2.0 and gdc only does D1.0
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> General 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