Can't link libs?

Adam D. Ruppe via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Jun 6 09:33:26 PDT 2014


When you compile the final program, the library .d file needs to 
be available too, either in the folder based on its name or 
passed straight to dmd explicitly.

Despite the presence of the .lib file, the .d file is still 
needed so it can get code prototypes and type names, etc., out of 
it.

(If you have the .d though, the lib is rarely needed. Indeed, the 
way I do most D libraries is to just pass all the .d files to the 
compiler at once and forget about lib files.)


More information about the Digitalmars-d-learn mailing list