vs2010编译log4cppLIB 报错LNK1181 无法打开输入文件.\Release\NTEventLogCategories.res

现象:

用vs2010编译log4cppLIB时,出现如下错误:

LINK :  error LNK1181: 无法打开输入文件 “.\Release\NTEventLogCategories.res”

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

解决办法:

删除掉log4CppLIB项目中NTEventLogCategories.mc文件。注意,重点:同时必须删除vs2010工程中NTEventLogCategories.mc文件,否则还是会报相同的错误。

猜你喜欢

转载自blog.csdn.net/BersonKing/article/details/85788693
今日推荐