Working with Modules

Guy Asking a Question via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Dec 27 18:28:13 PST 2016


On Wednesday, 28 December 2016 at 02:12:32 UTC, pineapple wrote:
> On Wednesday, 28 December 2016 at 02:08:44 UTC, Guy Asking a 
> Question wrote:
>> import test; <---dmd choking here.
>
> You will need to use the -I option of dmd/rdmd to inform the 
> compiler of where your `HopefullySomeDLibrary` directory is 
> located, as well as any other places you will want to import 
> modules from.
>
> If you're using another compiler, it should have a similar 
> option. (Though I can't speak from experience.)

Thanks. That did the trick.


More information about the Digitalmars-d-learn mailing list