When VS2015 compiles C++, error: LNK2019 reports an error alone or error: LNK2019 and error: LNK1120 report an error at the same time

error: LNK2019 reports an error alone, it may be due to the lack of a certain Lib library, please refer to
reference 1
and reference 2

At the same time, error: LNK2019 and error: LNK1120 are code problems.
My error screenshot.
insert image description here
Solution:
Refer to 3.
I didn’t use the file globaldetectItem directly, and it was solved by excluding it from the project.

Guess you like

Origin blog.csdn.net/weixin_44021553/article/details/128548172