June 22, 2015 Sample dub.json file | ||||
---|---|---|---|---|
| ||||
This is my first project in D and I'm stumped. I have a library and I want to link some test programs to it using dub. I've tried a number of different things with no success. Can someone point me to a dub project with examples in a similar situation where maybe I can figure out what they're doing? Basically, it seems no matter what I try, the import mylib; gives me a "cannot read mylib.d" error. How can I get dub to see my library as if it were any other one? I tried add-local and it shows up in "dub list". |
June 22, 2015 Re: Sample dub.json file | ||||
---|---|---|---|---|
| ||||
Posted in reply to Charles Hawkins | On Monday, 22 June 2015 at 14:01:19 UTC, Charles Hawkins wrote:
> This is my first project in D and I'm stumped. I have a library and I want to link some test programs to it using dub. I've tried a number of different things with no success. Can someone point me to a dub project with examples in a similar situation where maybe I can figure out what they're doing? Basically, it seems no matter what I try, the
> import mylib;
> gives me a "cannot read mylib.d" error. How can I get dub to see my library as if it were any other one? I tried add-local and it shows up in "dub list".
Heh, never mind. I found one. I think it's working now but I'm not exactly sure which change I made fixed it.
|
Copyright © 1999-2021 by the D Language Foundation