求log4cpp或log4cplus 已编译好所有源文件
在VS2005或2008能正常使用的类库
请RAR 下发到[email protected]
收到后经测试能用后我把分数都给你(能解决问题的第一人)。
我编译后使用时会出现如下错误 如果能解决同样把分数都给你(能解决问题的第一人)。错误 1 error LNK2019: 无法解析的外部符号 "public: static void __cdecl log4cpp::PropertyConfigurator::configure(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?configure@PropertyConfigurator@log4cpp@@SAXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z),该符号在函数 _main 中被引用 main.obj
错误 2 fatal error LNK1120: 1 个无法解析的外部命令 e:\MyVS2005\C++\C++ STL开发技术导引\12\Chapter12_1\Debug\Chapter12_1.exe 1
本人刚习C++请多 帮忙 谢谢了
在VS2005或2008能正常使用的类库
请RAR 下发到[email protected]
收到后经测试能用后我把分数都给你(能解决问题的第一人)。
我编译后使用时会出现如下错误 如果能解决同样把分数都给你(能解决问题的第一人)。错误 1 error LNK2019: 无法解析的外部符号 "public: static void __cdecl log4cpp::PropertyConfigurator::configure(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?configure@PropertyConfigurator@log4cpp@@SAXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z),该符号在函数 _main 中被引用 main.obj
错误 2 fatal error LNK1120: 1 个无法解析的外部命令 e:\MyVS2005\C++\C++ STL开发技术导引\12\Chapter12_1\Debug\Chapter12_1.exe 1
本人刚习C++请多 帮忙 谢谢了
解决方案 »
- 我如何才能读到 webBrowser 中 form 的属性呢,是否可见
- 关于_recordsetptr一个很奇怪的问题.
- 对MFC的一点精神疑惑
- 如何判断声明的HDC类的变量是否被初始化
- 有没有算法代码集?各种基本算法的实现。
- OpenGL初学者的问题: 为什么没有显示图形
- 如何实现以下功能????高手请进!
- 有朋友被邀请作核心网的呼叫控制模块。谁知道作这个模块有前途否?
- “轮寻”问题。
- 怎样利用SDK编程实现Tab页??
- 基于MFC的,LINK : fatal error LNK1181: cannot open input file 'ws2_32.lib'怎么解决啊?
- 为何我打不开AVI视频
http://www.dreamcubes.com/webdrive/log4cxx_win32/log4cxx-0.10.0-vc6-June2008.rar下载后直接用VC2005打开VC6的工程编译,即可在VC2005下使用。
这会出现:错误 4 error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: virtual __thiscall log4cxx::helpers::ObjectPtrT<class log4cxx::Logger>::~ObjectPtrT<class log4cxx::Logger>(void)" (__imp_??1?$ObjectPtrT@VLogger@log4cxx@@@helpers@log4cxx@@UAE@XZ),该符号在函数 _main 中被引用 main.obj 无法解析的外部符号 与 该符号在函数 _main 中被引用 到底要何解决?
就怎么简单的一语句代码为何会出现错误?
错误 1 error LNK2019: 无法解析的外部符号 "public: static void __cdecl log4cpp::SimpleConfigurator::configure(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?configure@SimpleConfigurator@log4cpp@@SAXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z),该符号在函数 _main 中被引用 main.obj 错误 2 fatal error LNK1120: 1 个无法解析的外部命令 e:\MyVS2005\C++\C++ STL开发技术导引\12\Chapter12_1\Debug\Chapter12_1.exe 1
编译log4cpp和log4cppDLL之前,把NTeventlog删掉。
然后,把src/FactoryParams.cpp,/src/Localtime.cpp添加到工程里就可以了