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.