The order of libraries makes error in dub

unDEFER via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Dec 5 07:16:27 PST 2016


On Monday, 5 December 2016 at 14:59:26 UTC, Mike Parker wrote:
> "libs-windows-dmd":["libdb53d.lib","ws2_32.lib"]

I have used "sourceFiles-windows-dmd", because it is the single 
that I could find.
Thank you, "libs-windows-dmd":["libdb53d","WS2_32"] works much 
better, but again these errors:
1) Its put to linker command "db.lib" from libs-posix
2) Its put to linker command at the first "libdb53d.lib 
WS2_32.lib" and AFTER that -m32mscoff. As result "cannot open 
file".


More information about the Digitalmars-d-learn mailing list