link errors when using extern (C) structs

DanielG simpletangent at gmail.com
Sun Oct 28 06:59:31 UTC 2018


For the benefit of anybody who encounters a problem like this in 
the future ... originally I had my C library "header" files 
(renamed from .di to .d after the feedback from Nicholas) in a 
special 'headers/' subdir, used as an import path in dub.json. I 
simply moved those files to the source folder and everything 
started magically working.

And thanks again, Nicholas!


More information about the Digitalmars-d-learn mailing list