Log4Plus与Visual Sudio 2008的集成有关 [英] regarding integration of Log4Plus with visual sudio 2008

查看:66
本文介绍了Log4Plus与Visual Sudio 2008的集成有关的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我想在我的Visual Studio项目中使用记录器对象.
我已经在依赖选项卡中包括了thr库.
但它仍然显示错误,例如:

严重错误C1083:无法打开包含文件:log4cplus/logger.h:没有此类文件或目录

我可以解决这个问题吗?
我可以在其中找到log4plus的包含文件.

如果有人有解决方案,请让我知道.

Hi ,

I want to use a logger object in my visual studio project .
i have included thr library in dependancy tab .
but it is still giving error such as :

fatal error C1083: Cannot open include file: log4cplus/logger.h: No such file or directory

wat shud I do to resolve this problem ?
where i can find the include files for the log4plus .

if anyone have solution , please let me know .

推荐答案

1)您需要安装log4cplus软件包.
2)您需要知道log4cplus标头和lib的安装位置.
3)您需要通过将这些文件添加到路径(用于标头)和链接器路径(用于lib)中来告诉Studio版本.
4)应该在这一点上起作用.
1) You need to install the log4cplus package.
2) You need to know where the log4cplus header and lib were installed.
3) You need to tell your version of Studio where these files are by adding them to the paths(for header) and linker paths(for lib).
4) Should work at this point.


这篇关于Log4Plus与Visual Sudio 2008的集成有关的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆