I have VC++ 6 and was able to build C:\buildtools\log4cpp-0.3.5rc1\msvc6\log4cpp\Debug\log4cppD.lib
without warnings or errors. Now I want to build testmain.cpp and can't figure it out (I am from Unix-land am not so familiar with windows-isms - sorry). I am trying: C:\buildtools\log4cpp-0.3.5rc1\examples>cl /EHsc /IC:\buildtools\log4cpp-0.3.5r c1\include testmain.cpp /nologo /link /LIBPATH:C:\buildtools\log4cpp-0.3.5rc1\ms vc6\log4cpp\Debug" log4cplusd.lib Ws2_32.lib testmain.cpp testmain.obj : error LNK2019: unresolved external symbol "public: static class s td::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl log4cpp::NDC::pop(void)" ([EMAIL PROTECTED]@log4cpp@@[EMAIL PROTECTED] [EMAIL PROTECTED]@std@@[EMAIL PROTECTED]@2@@std@@XZ) referenced in function _main testmain.obj : error LNK2019: unresolved external symbol "public: static bool __ cdecl log4cpp::Appender::reopenAll(void)" ([EMAIL PROTECTED]@log4cpp@@SA_NXZ) referenced in function _main testmain.obj : error LNK2019: unresolved external symbol "public: void __cdecl l og4cpp::Category::info(char const *,...)" ([EMAIL PROTECTED]@log4cpp@@QAAXPBDZZ) re ferenced in function _main etc Wonder how far off I am ... seems simple in concept ... thanks owen
