https://issues.dlang.org/show_bug.cgi?id=21447
--- Comment #3 from Walter Bright <[email protected]> --- Here's the Microsoft lib tool that comes with Visual Studio: C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>lib Microsoft (R) Library Manager Version 10.00.40219.01 Copyright (C) Microsoft Corporation. All rights reserved. usage: LIB [options] [files] options: /DEF[:filename] /ERRORREPORT:{NONE|PROMPT|QUEUE|SEND} /EXPORT:symbol /EXTRACT:membername /INCLUDE:symbol /LIBPATH:dir /LIST[:filename] /LTCG /MACHINE:{ARM|EBC|IA64|MIPS|MIPS16|MIPSFPU|MIPSFPU16| SH4|THUMB|X64|X86} /NAME:filename /NODEFAULTLIB[:library] /NOLOGO /OUT:filename /REMOVE:membername /SUBSYSTEM:{BOOT_APPLICATION|CONSOLE|EFI_APPLICATION| EFI_BOOT_SERVICE_DRIVER|EFI_ROM|EFI_RUNTIME_DRIVER| NATIVE|POSIX|WINDOWS|WINDOWSCE}[,#[.##]] /VERBOSE /WX[:NO] And a link to what it does and how to use it: https://docs.microsoft.com/en-us/cpp/build/reference/lib-reference?view=msvc-160 I don't know how your project is creating libraries, but when the message says "the containing library is corrupt" that's where to start. --
