问题
My system is having trouble building the boost libraries. I understand that most boost libraries are (fortunately) just headers that do not need to be build (with some exceptions). Does the boost :: signals2 library need to be built? Also is the boost.signals2 library dependant on the boost.signals library?
回答1:
Signals is not header-only, signals2 is. But however, signals2 is explicitly developed for thread-safety and if you use boost.thread, this has to be compiled. As far as I know signals2 is not dependent on signals headers.
回答2:
No, signals2 is header only. See here.
来源:https://stackoverflow.com/questions/6690721/does-the-boost-signals2-library-need-to-be-built