c++ - 如何独立编译 Boost.Log

标签 c++ boost boost-build boost-log

在做了一些研究之后,部分是在 Stack Overflow 上,我决定尝试 Boost.Log Andrey Semashev 的图书馆。

不幸的是,要构建 Boost.Log 库 I have to place it in the Boost source tree并编译,因为它是 Boost 的一部分。这对我来说是个障碍,因为我的建筑配置已经有些复杂了。 我想独立构建 Boost.Log。

我找到了 interesting thread on Boost.Log forum ,但这种方法对我不起作用。

最佳答案

不使用 Boost.Log,我建议您考虑 cpplog:https://github.com/andrew-d/cpplog

这是一个基于 Google 日志库的仅 header 库。

关于c++ - 如何独立编译 Boost.Log,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9610462/

相关文章:

c++ - Boost 在当前目录中看不到 jamfile

c++11 - 更改 boost.build jamfile 以支持 C++11?

c++ - Boost multiprecision 失败,因为 complex 的实现试图在 _Isinf 或 _Isnan 等内部函数中转换为 double

c++ - Boost.Log,在文件名或配置文件的目标值中使用自定义属性

boost-build - Boost Build,无法找到文件或目标 x

c++ - 用已知数量的元素填充 vector : specify its size in constructor or by using reserve method?

c++ - boost 线程列表

c++ - 构建调试输出字符串

c++ - 滚动区域中的自定义小部件不遵守最小值?

html - 在 html 文件中寻找 <table>