Does the boost.signals2 library need to be built?

2019-02-15 15:14发布

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?

2条回答
手持菜刀,她持情操
2楼-- · 2019-02-15 15:44

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.

查看更多
Juvenile、少年°
3楼-- · 2019-02-15 15:57

No, signals2 is header only. See here.

查看更多
登录 后发表回答