logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Owen Corpening" <ocorpen...@acornsys.com>
Subject Re: how to build testmain.cpp with VC++ 6
Date Tue, 03 May 2005 21:47:17 GMT
Couldn't figure out immediately why the unit test failed, maybe it couldn't
find "sed", I don't know.So I built the trivial example and:

C:\temp>cl /IC:\buildtools\logging-log4cxx\include trivial.cpp /EHsc /link
/LIBPATH:C:\buildtools\logging-log4cxx\build\debug\shared log4cxxd.lib
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86
Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.

Microsoft (R) Incremental Linker Version 7.10.3077
Copyright (C) Microsoft Corporation.  All rights reserved.


Copied C:\buildtools\logging-log4cxx\build\debug\shared\log4cxxd.dll to
c:\temp and bingo:

10 [0x000007B4] DEBUG root trivial context - debug message
20 [0x000007B4] INFO root trivial context - info message
30 [0x000007B4] WARN root trivial context - warn message
40 [0x000007B4] ERROR root trivial context - error message
40 [0x000007B4] FATAL root trivial context - fatal message


thanks bunches hope this helps another newbie somewhere out there,

"Curt Arnold" <carnold@apache.org> wrote in message
> However, this is not the log4cpp project
> (http://sourceforge.net/projects/log4cpp/) and not the right forum to
> ask questions about building their project.  It appears that they just
> had a release in the last few weeks, so there should be someone on one
> of their mailing lists.
> Is there some feature or capability that makes you prefer log4cpp over
> log4cxx?  Can't do anything if you don't like the ASF license however.
> On May 3, 2005, at 2:05 PM, Owen Corpening wrote:
> > there are no xml files in the entire directory tree, I don't think
> > they use
> > "ant" they use make and configure.
> >
> > The readme says to use the visual studio to build the project which I
> > did,
> > and it built.
> >
> > besides the cli would be useful to know
> >
> > owen

View raw message