RE: Help with first C++ program to do logging

2015-10-12 Thread Dana Irvin
Hi, Andrew. I just went through a Log4Cxx rebuild myself with setting up a new build server last week, so I can appreciate the hurdle that can be. I would recommend use the Ant build procedure, and checking out from the SVN trunk. That procedure seemed to work out best for me. Also,

Re: Help with first C++ program to do logging

2015-10-12 Thread Thorsten Schöning
Guten Tag Andrew Leach, am Montag, 12. Oktober 2015 um 18:07 schrieben Sie: > I've tried for several hours to build the package but find it to be an > impossible task. It's not, I've done it in the past, but it's been a while now and I don't remember if I used mvn as a frontend for ant or vice

Re: Help with first C++ program to do logging

2015-10-12 Thread Andrew Leach
Thanks for you email. I've tried for several hours to build the package but find it to be an impossible task. Maven fails with these errors: [INFO] [INFO] Building Apache log4cxx (Incubating) 0.11.0-SNAPSHOT [INFO]

Help with first C++ program to do logging

2015-10-12 Thread Andrew Leach
Hi, Firstly, I'm a novice C++ programmer and this is my 3rd program in total, my first that involves logging to files. I'm using Visual Studio 2013 Community and getting lots of errors when I try to write some simple logging from a DLL that I've written. I believe I've correctly configured the

Re: Help with first C++ program to do logging

2015-10-12 Thread Thorsten Schöning
Guten Tag Dana Irvin, am Montag, 12. Oktober 2015 um 18:33 schrieben Sie: > One thing > of note – I found the trunk wouldn’t compile/link complete with the > current version of APR and APR-Util. I had to use APR 1.5.1 and > APR-Util 1.5.3 for Windows. There are some undefined references in > the

Re: Help with first C++ program to do logging

2015-10-12 Thread Thorsten Schöning
Guten Tag Dana Irvin, am Montag, 12. Oktober 2015 um 19:02 schrieben Sie: > Below are the errors I get – they seem centered around the APR > random stuff. In APR 1.5.2, I only see a unix directory under the random > directory. That's fine, just build with that. APR saves all platform

RE: Help with first C++ program to do logging

2015-10-12 Thread Dana Irvin
Below are the errors I get – they seem centered around the APR random stuff. In APR 1.5.2, I only see a unix directory under the random directory. [cc] nteventlogappender.cpp [cc] Generating Code... [cc] Starting link [cc]Creating library log4cxx.lib and

Re: Help with first C++ program to do logging

2015-10-12 Thread Andrew Leach
> This class is in ant.jar, which is e.g. in my installation folder > "C:\Program Files (x86)\Apache Ant\lib". The "bin" folder of that is > in my path and contains some ant.bat which deals with things like > ANT_HOME, classpath and such. Have a look at that. I don't remember > anymore how I set

Re: Help with first C++ program to do logging

2015-10-12 Thread Thorsten Schöning
Guten Tag Andrew Leach, am Montag, 12. Oktober 2015 um 21:23 schrieben Sie: > It's seems there's a problem with the maven-antrun-plugin v1.7. I > seen numerous issues like the one I'm experiencing when I did a search on the > web. This still looks like your ANT is wrongly setup or simply not