RDMD on Windows

2010-08-21 Thread Andrej Mitrovic
Is anyone having success using RDMD on Windows? I keep getting back this kind of nonsense: .\widget.d(2): Error: module io from file acme\goodies\io.d conflicts with another module io from file .\acme\goodies\io.d The files are: C:\test\main.d C:\test\widget.d C:\test\acme\goodies\io.d

Re: RDMD on Windows

2010-08-21 Thread Nick Sabalausky
Andrej Mitrovic andrej.mitrov...@gmail.com wrote in message news:i4p4tn$2sd...@digitalmars.com... Is anyone having success using RDMD on Windows? I keep getting back this kind of nonsense: .\widget.d(2): Error: module io from file acme\goodies\io.d conflicts with another module io from

Re: Can't get D calling C to build.

2010-08-21 Thread Bob Cowdery
On 20/08/2010 18:44, div0 wrote: On 20/08/2010 09:17, Bob Cowdery wrote: I'm still concerned it's a bit too soon as a lot of things seem to be either Windows or Linux (cmake says its only tested for *nix) but not both and there is very little guidance on building. I really want to get this

Re: RDMD on Windows

2010-08-21 Thread Andrej Mitrovic
Thanks for all the help, Nick. But I don't see your attachment. I can't see it with the web-news reader, and on gmane there's garbled text at the end, something like begin 666 rdmdAlt.d m...@5w)I='1E;B!I;B!T:41!.. Do you have a link to the file instead? That would be great. And yes, I was

Re: Can't get D calling C to build.

2010-08-21 Thread bearophile
Bob Cowdery: Why does a modern language use an old object format I wonder. This problem will need to be addressed (among others). The language itself is nice but the hassle factor for mixed language multi-platform seems quite high. I hope I'm wrong on both counts. Despite being in the

dmd: Module X conflicts with itself (Was: Re: RDMD on Windows)

2010-08-21 Thread Nick Sabalausky
Andrej Mitrovic andrej.mitrov...@gmail.com wrote in message news:i4pgdp$1ba...@digitalmars.com... Thanks for all the help, Nick. But I don't see your attachment. I can't see it with the web-news reader, and on gmane there's garbled text at the end, something like begin 666 rdmdAlt.d

Re: dmd: Module X conflicts with itself (Was: Re: RDMD on Windows)

2010-08-21 Thread Andrej Mitrovic
Man, I have no idea what's going on. I was trying out building with xfbuild, and I keep getting different results on each attempted build: Attempt 1: C:\nextxfbuild myproject.d myfolder\another.d +full +o=main Build failed: myfolder/another.obj: The system cannot find the file specified.

Re: Can't get D calling C to build.

2010-08-21 Thread div0
On 21/08/2010 22:07, Bob Cowdery wrote: On 20/08/2010 18:44, div0 wrote: On 20/08/2010 09:17, Bob Cowdery wrote: I'm still concerned it's a bit too soon as a lot of things seem to be either Windows or Linux (cmake says its only tested for *nix) but not both and there is very little guidance

Re: dmd: Module X conflicts with itself (Was: Re: RDMD on Windows)

2010-08-21 Thread Nick Sabalausky
Andrej Mitrovic andrej.mitrov...@gmail.com wrote in message news:i4pkg0$2a5...@digitalmars.com... Man, I have no idea what's going on. I was trying out building with xfbuild, and I keep getting different results on each attempted build: [snip] Geeez.. What am I supposed to use

Re: dmd: Module X conflicts with itself (Was: Re: RDMD on Windows)

2010-08-21 Thread Andrej Mitrovic
Doh! I swear I've read somewhere that a module declaration needs to have the same name as the *file name*. I didn't know I had to add the path as well. That makes the modules work now. In fact, I probably just read this one line in the docs: The ModuleDeclaration sets the name of the module