Does the boost.signals2 library need to be built?

荒凉一梦 提交于 2019-12-09 01:24:27

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!