ApprenticeHacker
ApprenticeHacker

Reputation: 22021

Does the boost.signals2 library need to be built?

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?

Upvotes: 4

Views: 3238

Answers (2)

KillianDS
KillianDS

Reputation: 17186

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.

Upvotes: 11

Fabio Fracassi
Fabio Fracassi

Reputation: 3890

No, signals2 is header only. See here.

Upvotes: 1

Related Questions