RE: Compiling on Windows

2015-04-22 Thread Alex Huang (Gorilla)
I have been using log4cxx 0.10.0 on Windows for a while now, and although the INSTALL file says to use Ant when compiling with MSVC, my build was done using the “configure.bat” method documented in site/building/vstudio.html. My notes show a few differences from the documentation so I’ll includ

Re: Compiling on Windows

2015-04-22 Thread Robert Middleton
Update on the crash: I don't know what is going on with it, but I have narrowed down how to reproduce it. It turns out that the macros for logging( for example LOG4CXX_ERROR) create a log4cxx::helpers::MessageBuffer oss_; object. This object gets created and the message is logged using it. If t

Re: Compiling on Windows

2015-04-22 Thread Robert Middleton
Thorsten, Thanks for the information. For future reference, here is what I needed to get it to build: - Windows compiler(cl). I had the Windows 7 SDK installed, which gave me the command prompt with cl on PATH and the proper environment - ant from: http://ant.apache.org/bindownload.cg

Re: Compiling on Windows

2015-04-22 Thread Thorsten Schöning
Guten Tag Robert Middleton, am Mittwoch, 22. April 2015 um 04:31 schrieben Sie: > I want to use log4cxx on a Windows-based project, and I'm wondering > what the easiest way to compile it for Windows is? I guess that heavily depends on your compiler and toolchain, not sure if I read about QT on th