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

Reply via email to