On Thursday, 22 September 2016 at 17:09:38 UTC, Brian wrote:
I use cygwin build a C++ lib file:


but, how to link it to my dub project?

You'd probably need to use the GNU linker then, but the D objects would need to match the format used for your C++ lib. You could give the GDC compiler a shot, or use clang to compile the C++ lib to MS COFF format (.lib), which can then be fed to both DMD and LDC on Windows.

Reply via email to