Working with Modules

pineapple via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Dec 27 18:12:32 PST 2016


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.)



More information about the Digitalmars-d-learn mailing list