vs2010 compile log4cppLIB error LNK1181 can not open the input file .\Release\NTEventLogCategories.res

Phenomenon:

When compiling log4cppLIB with vs2010, the following error occurs:

LINK : error LNK1181: cannot open input file '.\Release\NTEventLogCategories.res'

CUSTOMBUILD : fatal error RC1110: could not open .\Release\NTEventLogCategories.rc

Solution:

Delete the NTEventLogCategories.mc file in the log4CppLIB project. Note, important point: You must delete the NTEventLogCategories.mc file in the vs2010 project at the same time, otherwise the same error will still be reported.

 

Guess you like

Origin blog.csdn.net/BersonKing/article/details/85788693