Hi All
I have simple question related VC++ 7 and log4cxxs.lib. If I tried to link "libcxxs.lib" with my VC7 project, the compilation fails. Any Ideas? c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\useoldio.h(29) : warning C4995: '_OLD_IOSTREAMS_ARE_DEPRECATED': name was marked as #pragma deprecated e:\software\log4cxx_0.9.7\log4cxx-0.9.7\include\log4cxx\helpers\tchar.h( 263) : warning C4244: 'argument' : conversion from '__w64 int' to 'std::streamoff', possible loss of data e:\software\log4cxx_0.9.7\log4cxx-0.9.7\include\log4cxx\helpers\tchar.h( 264) : warning C4244: 'argument' : conversion from '__w64 int' to 'int', possible loss of data e:\software\log4cxx_0.9.7\log4cxx-0.9.7\include\log4cxx\helpers\tchar.h( 269) : warning C4244: 'argument' : conversion from '__w64 int' to 'std::streamoff', possible loss of data f:\projects\TestVC++\Test\ASRLogger.h(25) : warning C4091: 'static ' : ignored on left of 'ASRLogger' when no variable is declared Generating Code... Linking... LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/OPT:ICF' specification LINK : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/OPT:ICF' specification ASRLogger.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class log4cxx::helpers::ObjectPtrT<class log4cxx::Level> const log4cxx::Level::OFF" ([EMAIL PROTECTED]@log4cxx@@[EMAIL PROTECTED]@log4cxx@@@[EMAIL PROTECTED]@B) ASRLogger.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static void __cdecl log4cxx::BasicConfigurator::configure(void)" ([EMAIL PROTECTED]@log4cxx@@SAXXZ) referenced in function "public: static void __cdecl ASRLogger::init(void)" ([EMAIL PROTECTED]@@SAXXZ) ASRLogger.obj : error LNK2019: 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]@std@@[EMAIL PROTECTED]@2@@std@@@Z) referenced in function "public: static void __cdecl ASRLogger::init(void)" ([EMAIL PROTECTED]@@SAXXZ) ASRLogger.obj : error LNK2019: 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>,class std::allocator<char> > const &)" ([EMAIL PROTECTED]@log4cxx@@[EMAIL PROTECTED]@log4cxx@@@he [EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@2@@std@@ @Z) referenced in function "public: static class log4cxx::helpers::ObjectPtrT<class log4cxx::Logger> __cdecl ASRLogger::getLogger(void)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@log4cxx@@@[EMAIL PROTECTED] xx@@XZ) testlog.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class log4cxx::helpers::ObjectPtrT<class log4cxx::Level> const log4cxx::Level::FATAL" ([EMAIL PROTECTED]@log4cxx@@[EMAIL PROTECTED]@log4cxx@@@[EMAIL PROTECTED]@B ) testlog.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __thiscall log4cxx::Logger::isFatalEnabled(void)const " ([EMAIL PROTECTED]@log4cxx@@QBE_NXZ) referenced in function _main testlog.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class log4cxx::helpers::ObjectPtrT<class log4cxx::Level> const log4cxx::Level::ERROR" ([EMAIL PROTECTED]@log4cxx@@[EMAIL PROTECTED]@log4cxx@@@[EMAIL PROTECTED]@B ) testlog.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __thiscall log4cxx::Logger::isErrorEnabled(void)const " ([EMAIL PROTECTED]@log4cxx@@QBE_NXZ) referenced in function _main testlog.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@@@[EMAIL PROTECTED]@B) testlog.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __thiscall log4cxx::Logger::isInfoEnabled(void)const " ([EMAIL PROTECTED]@log4cxx@@QBE_NXZ) referenced in function _main testlog.obj : error LNK2019: 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@@@h [EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@2@@std@ @[EMAIL PROTECTED]) referenced in function _main testlog.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class log4cxx::helpers::ObjectPtrT<class log4cxx::Level> const log4cxx::Level::DEBUG" ([EMAIL PROTECTED]@log4cxx@@[EMAIL PROTECTED]@log4cxx@@@[EMAIL PROTECTED]@B ) testlog.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __thiscall log4cxx::Logger::isDebugEnabled(void)const " ([EMAIL PROTECTED]@log4cxx@@QBE_NXZ) referenced in function _main Debug/Test.exe : fatal error LNK1120: 13 unresolved externals Build log was saved at "file://f:\projects\TestVC++\Test\Debug\BuildLog.htm" Test - 14 error(s), 12 warning(s)