[Issue 21447] Undocumented MS linker error LNK1377
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Dec 19 00:18:23 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=21447
--- Comment #3 from Walter Bright <bugzilla at digitalmars.com> ---
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.
--
More information about the Digitalmars-d-bugs
mailing list