logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Owen Corpening" <ocorpen...@acornsys.com>
Subject how to build testmain.cpp with VC++ 6
Date Tue, 03 May 2005 16:31:38 GMT
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)"
(?pop@NDC@log4cpp@@SA?AV?$basic_string@DU?$cha
r_traits@D@std@@V?$allocator@D@2@@std@@XZ) referenced in function _main
testmain.obj : error LNK2019: unresolved external symbol "public: static
bool __
cdecl log4cpp::Appender::reopenAll(void)"
(?reopenAll@Appender@log4cpp@@SA_NXZ)
referenced in function _main
testmain.obj : error LNK2019: unresolved external symbol "public: void
__cdecl l
og4cpp::Category::info(char const *,...)"
(?info@Category@log4cpp@@QAAXPBDZZ) re
ferenced in function _main


etc

Wonder how far off I am ... seems simple in concept ...

thanks
owen




Mime
View raw message