logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Javier <xavierle...@yahoo.com.ar>
Subject Linking problem
Date Wed, 07 Sep 2005 21:41:45 GMT

Hi All

I'm trying to compile my first C++ app using log4cxx and I got the
following errors (using VC++ 6)

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)" (__imp_?forcedLog@Logger@log4cxx@@QAEXABV?$ObjectPtrT@VLevel@log4cxx@@@helpers@2@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PBDH@Z)
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 &)" (_
Debug/prueba.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.

prueba.exe - 3 error(s), 0 warning(s)

How could I fix it ?

Also, how could I know wich libs/files should I deploy with my exe
app ?

Thanks in advance



View raw message