链接器工具错误 LNK1120Linker tools error LNK1120

无法解析的外部number unresolved externals

错误 LNK1120 报告当前链接中无法解析的外部符号错误的数目。Error LNK1120 reports the number of unresolved external symbol errors in the current link.

每个无法解析的外部符号首先由LNK2001LNK2019错误报告。Each unresolved external symbol first gets reported by a LNK2001 or LNK2019 error. LNK1120 消息最后出现,并显示无法解析的符号错误计数。The LNK1120 message comes last, and shows the unresolved symbol error count.

重要

不需要修复此错误。You don't need to fix this error. 如果在生成输出中更正了所有 LNK2001 和 LNK2019 链接器错误,则此错误将消失。This error goes away when you correct all of the LNK2001 and LNK2019 linker errors before it in the build output. 始终从报告的第一个错误开始修复问题。Always fix issues starting at the first reported error. 稍后的错误可能是由早期错误引起的,并且在修复了以前的错误时消失。Later errors may be caused by earlier ones, and go away when the earlier errors are fixed.