-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Functionality without boost? #15
Comments
[–]andrew-d[S] 1 point 1 year ago If you #define CPPLOG_NO_THREADING and CPPLOG_NO_SYSTEM_IDS, it doesn't depend on Boost any more - though you lose the ability to track process/thread IDs and the use of BackgroundLogger. I found this on the related reddit thread: http://www.reddit.com/r/programming/comments/krd8f/show_proggit_a_simple_headeronly_mitlicensed_c/ Could you still comment on the MPI interaction? (although for projects where I use that, I probably shouldn't be so picky about installing/building boost) |
Hi there, I've never tested it with MPI, but if you |
Hi, thanks for the comment. |
Hi,
I tried this library assuming that it was header-only as advertised and ran straight into compilation problems when trying the main.cpp.
I removed the THREADING and SYSTEM_IDS as well as the boost libs from the Makefile and now I can build and all the threads pass.
Is there some documentation as to what I am missing out if I use the library in this way?
ifdef CPPLOG_SYSTEM_IDS seems to relate to printing process / thread ids.
ifdef CPPLOG_THREADING runs the logger in its own thread.
Can I still use the library without boost-thread using, say OpenMPI? What kind of shortcomings do I need to expect?
Best,
Matthias
The text was updated successfully, but these errors were encountered: