Hi

I�m a little bit new with C++ and totally new with
log4cxx.

I'm using VC++ 6. I compiled a log4cxx static library
and the I tried to compile one of the examples that I
saw in doc page.

But at link time I got the message:


MyPrueba.obj : error LNK2001: unresolved external
symbol "__declspec(dllimport) public: void __thiscall
log4cxx::Logger::forcedLog(class
log4cxx::helpers::ObjectPtrT<class log4cxx::Level>
const &,class std::basic_string<char,struct
std::char_traits<
char>,class std::allocator<char> > const &,char const
*,int)"
([EMAIL PROTECTED]@log4cxx@@[EMAIL PROTECTED]@log4cxx@@@[EMAIL 
PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL 
PROTECTED]@2@@std@@[EMAIL PROTECTED])
MyPrueba.obj : error LNK2001: unresolved external
symbol "__declspec(dllimport) public: static class
log4cxx::helpers::ObjectPtrT<class log4cxx::Level>
const  log4cxx::Level::INFO"
([EMAIL PROTECTED]@log4cxx@@[EMAIL PROTECTED]@log4cxx@@@helpers@
[EMAIL PROTECTED])
MyPrueba.obj : error LNK2001: unresolved external
symbol "__declspec(dllimport) public: bool __thiscall
log4cxx::Logger::isInfoEnabled(void)const "
([EMAIL PROTECTED]@log4cxx@@QBE_NXZ)
MyPrueba.obj : error LNK2001: unresolved external
symbol "__declspec(dllimport) public: static void
__cdecl log4cxx::PropertyConfigurator::configure(class
std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >
const &)" (_
[EMAIL PROTECTED]@log4cxx@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL 
PROTECTED]@2@@std@@@Z)
MyPrueba.obj : error LNK2001: unresolved external
symbol "__declspec(dllimport) public: static class
log4cxx::helpers::ObjectPtrT<class log4cxx::Logger> 
__cdecl log4cxx::Logger::getLogger(class
std::basic_string<char,struct std::char_traits<char>,c
lass std::allocator<char> > const &)"
([EMAIL PROTECTED]@log4cxx@@[EMAIL PROTECTED]@log4cxx@@@[EMAIL 
PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@2@@std@@@Z)
Debug/prueba.exe : fatal error LNK1120: 5 unresolved
externals
Error executing link.exe.

Could somebody tell me what I did wrong ?

Thanks in advance

J


__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam �gratis! 
�Abr� tu cuenta ya! - http://correo.yahoo.com.ar

Reply via email to