You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-user@logging.apache.org by Torsten Wiebesiek <to...@grecon.de> on 2007/06/13 15:22:19 UTC

Re: log4cxx VS2005 Project file + Win32 Binary

Hi merc,

> I've been searching for a VS2005 project file or binary for log4cxx,
> but without any luck. No choice but to went through a bumpy journey
> to get the ant build from 0.10.0 source.
>
> Anyway, I posted it up here, hope that its some use to anyone who is
> working with VS2005:
> http://www.dreamcubes.com/blog/?itemid=43

thanks for your detailed description on building log4cxx on a windows
system. I was very close to giving up, even though I'm very happy with
the current svn-snapshot of it on my Linux platform.

Let me summerize your journey for those not having time to read your 
detailed description: (please correct me, if I'm wrong at some point)

- building log4cxx with 'ant' failed
- creating project files for M$ Visual C++ 2005 with 'ant
build-project-vc8'
  succeeded
- building log4cxx with M$ Visual C++ 2005 VS and the created project
  files failed
- creating project files for M$ Visual C++ 6 with 'ant
build-project-vc6'
  succeeded
- building log4cxx with M$ Visual C++ 6 VS and the created project files
  finally succeeded
- converting the VS-6 project files to VS-2005 files and builing log4cxx
  (using the Visual Studio 2005) succeeded

Finally, you edited the VS2005 files, so that "all fit nicely in a
single
solution, that will build both the Static and Dynamic version of
log4cxx,
Debug / Release build".

Great, thanks for your investigation and for making the binaries as well
as a buildable source distribution available.


In order to be able to use your project files on the latest
svn-snapshot,
I played around a bit. Simply copying your project files into the
snapshot
is of course not working. First apr, aprutil and cppunit had to be
fetched.

I tried to get these by 'ant build-aprutil build-cppunit'. Then I copied
your 
files into the snapshot, but compilation failed, since
"log4cxx/log4cxx.h"
doesn't exist. I don't know how ant works, so I wasn't able to figure
out, how
this file can be created.

Next, I called 'ant build-project-vc8', copied your files into the
log4cxx
directory, and "ta-daaa": compilation of log4cxx is working and thanks
to your
project file, it's easy to build the static version as well as the dll
in both
flavours, release and debug. :-)

This will probably only work, until log4cxx is significantly changed,
e.g. by
adding/removing/renaming some source files, but for the moment, it works
very
well. :-)


Anyway, the better solution is to fix the ant build. Unfortunately, I
have
no idea on how ant works, and also, I'm very new to programming on a
windows
plattform. So I definetly can't fix it on my own, but of course I am
willing
to post detailed information about my system and the error messages that
occur.


Regards,

  Torsten



Re: log4cxx VS2005 Project file + Win32 Binary

Posted by Gordie <go...@gmail.com>.
To my great relief DreamCubes blog is back online and I retrieved the files.

And a substantial "Thanks" to merc for the work done.

TTFN,
Gordie...


Gordie wrote:
> 
> Hi,
> 
> I recently stared upon a similar journey to create log4cxx on VS8 and
> found your post.  Unfortunately, the domain expired on June 17th (I was
> just a couple of days too slow).  I would greatly appreciate a copy of the
> VS solution (and binary files).  Would you consider posting them to an
> alternate site?
> 
> Thanks,
> Gordie...
> 
> 
> Torsten Wiebesiek wrote:
>> 
>> Hi merc,
>> 
>>> I've been searching for a VS2005 project file or binary for log4cxx,
>>> but without any luck. No choice but to went through a bumpy journey
>>> to get the ant build from 0.10.0 source.
>>>
>>> Anyway, I posted it up here, hope that its some use to anyone who is
>>> working with VS2005:
>>> http://www.dreamcubes.com/blog/?itemid=43
>> 
>> thanks for your detailed description on building log4cxx on a windows
>> system. I was very close to giving up, even though I'm very happy with
>> the current svn-snapshot of it on my Linux platform.
>> 
>> Let me summerize your journey for those not having time to read your 
>> detailed description: (please correct me, if I'm wrong at some point)
>> 
>> ...
>> 
>> 
>> Regards,
>> 
>>   Torsten
>> 
>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Re%3A-log4cxx-VS2005-Project-file-%2B-Win32-Binary-tf3914659.html#a11212240
Sent from the Log4cxx - Users mailing list archive at Nabble.com.


Re: log4cxx VS2005 Project file + Win32 Binary

Posted by Gordie <go...@gmail.com>.
Hi,

I recently stared upon a similar journey to create log4cxx on VS8 and found
your post.  Unfortunately, the domain expired on June 17th (I was just a
couple of days too slow).  I would greatly appreciate a copy of the VS
solution (and binary files).  Would you consider posting them to an
alternate site?

Thanks,
Gordie...


Torsten Wiebesiek wrote:
> 
> Hi merc,
> 
>> I've been searching for a VS2005 project file or binary for log4cxx,
>> but without any luck. No choice but to went through a bumpy journey
>> to get the ant build from 0.10.0 source.
>>
>> Anyway, I posted it up here, hope that its some use to anyone who is
>> working with VS2005:
>> http://www.dreamcubes.com/blog/?itemid=43
> 
> thanks for your detailed description on building log4cxx on a windows
> system. I was very close to giving up, even though I'm very happy with
> the current svn-snapshot of it on my Linux platform.
> 
> Let me summerize your journey for those not having time to read your 
> detailed description: (please correct me, if I'm wrong at some point)
> 
> ...
> 
> 
> Regards,
> 
>   Torsten
> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Re%3A-log4cxx-VS2005-Project-file-%2B-Win32-Binary-tf3914659.html#a11197237
Sent from the Log4cxx - Users mailing list archive at Nabble.com.