View previous topic :: View next topic |
Author |
Message |
james
Joined: 28 Feb 2009 Posts: 6
|
Posted: Sat Feb 28, 2009 8:23 pm Post subject: how to use phobos |
|
|
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 |
|
Back to top |
|
|
james
Joined: 28 Feb 2009 Posts: 6
|
Posted: Sat Feb 28, 2009 8:55 pm Post subject: |
|
|
gdc 4.2.3-1ubuntu6
libphobos-4.2-dev 0.25-4.2.4-1ubuntu1
a version problem? |
|
Back to top |
|
|
james
Joined: 28 Feb 2009 Posts: 6
|
Posted: Sat Feb 28, 2009 10:17 pm Post subject: |
|
|
ok, so that func is D2.0 and gdc only does D1.0 |
|
Back to top |
|
|
|