Setup log4cxx in Windows

About log4cxx , check here http://logging.apache.org/log4cxx/index.html

 

then it is about set things:

 

what we will do is to build our own dll or lib of loc4cxx,

 

1. get sources apache-log4cxx-0.10.0 ;

 

2. get necessary support sources apr-1.2.11-win32-src.zip and apr-util-1.2.10-win32-src.zip from http://archive.apache.org/dist/apr/

 

3. before working following the following steps, ensure that the sed tool was set already, you can get the sed for window or setup Cygwin to solve the proble:

unzip apr-1.2.11-win32-src.zip
rename apr-1.2.11 apr
unzip apr-util-1.2.10-win32-src.zip
rename apr-util-1.2.10 apr-util
put apr, apr-util and apache-log4cxx-0.10.0 under the same folder
cd apache-log4cxx-0.10.0
configure
configure-aprutil

4. open projects/log4cxx.dsw with vc6.0 and set log4cxx active, then build, and the log4cxx.dll and log4cxx.lib could be found under the debug folder
for detail, check here .


that's all from Carlton
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值