On Saturday, 19 November 2016 at 09:35:33 UTC, Basile B. wrote:
No, OPTLINK is the right linker for DMD32 (because of the
object format, OMF), unless you use the -mscoff32 switch (which
has for effect to produce another object format, that OPTLINK
doesn't know to link). Your issue is likely not a linker issue.
Is the message is about double definition ?
I do not think so.
When i using dmd for directly("dmd code.d"), get this message.
and using with dub, get here message:
============================================================
Linking...
Can't run '\bin\link.exe', check PATH
dmd failed with exit code -1.
============================================================
I think I made a mistake, but I do not know what it is...