M
mosfet
Hi,
I am trying to compile log4cpp under pocket pc.
I have done some modifications to get it to compile on this platform and
now I have a linker error :
testmain.obj : error LNK2019: unresolved external symbol "public:
__cdecl log4cpp::Win32DebugAppender::Win32DebugAppender(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)"
(??0Win32DebugAppender@log4cpp@@QAA@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
referenced in function wmain
It seems testmain cannot find
??0Win32DebugAppender@log4cpp@@QAA@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
appender = new log4cpp::Win32DebugAppender(std::string("default"));
I have dumped exported symbols from log4cpp and I get this :
??0Win32DebugAppender@log4cpp@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z
the only difference is @@QAE@ instead of @@QAA@. So my question is what
does it mean ?
I am using visual studio 2005.
I am trying to compile log4cpp under pocket pc.
I have done some modifications to get it to compile on this platform and
now I have a linker error :
testmain.obj : error LNK2019: unresolved external symbol "public:
__cdecl log4cpp::Win32DebugAppender::Win32DebugAppender(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)"
(??0Win32DebugAppender@log4cpp@@QAA@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
referenced in function wmain
It seems testmain cannot find
??0Win32DebugAppender@log4cpp@@QAA@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
appender = new log4cpp::Win32DebugAppender(std::string("default"));
I have dumped exported symbols from log4cpp and I get this :
??0Win32DebugAppender@log4cpp@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z
the only difference is @@QAE@ instead of @@QAA@. So my question is what
does it mean ?
I am using visual studio 2005.