So I heard good things about boost log. This claims its existence:
http://boost-log.sourceforge.net/libs/log/doc/html/index.html
This is the tutorial:
After lots of searching and testing this what I found out.
Download desired Boost (I tested it on stable release 1.51)
Checkout boost-log from here and copy
and
to
and
Make sure you have a supported compiler (my problem was that!. It worked with gcc 4.1.7)
Run
./bootstrap.sh --with-libraries=all --prefix=
and
./b2 address-model=32
If everything goes according to plan, a directory
will be created with the compiled libraries (including libboost_log.so)
Notes:
I'm not sure why but prefix didn't work. I was expecting to see the libraries built there.
Use b2
not bjam
.
No need to alter Jamfile
in
.
I got a bunch of warnings but no when building log.
I hope it helps somebody.