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?
Asked
Active
Viewed 2,975 times
4

MSalters
- 173,980
- 10
- 155
- 350

ApprenticeHacker
- 21,351
- 27
- 103
- 153
-
Please see http://meta.stackexchange.com/questions/98590/attention-grabbing-questioners – Robert Harvey Jul 14 '11 at 17:46
2 Answers
11
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.

KillianDS
- 16,936
- 4
- 61
- 70
-
+1: Beat me to it! BTW. Only some parts of boost threads need to be compiled and linked and IIRC the mutexs signals2 uses do not. – Fabio Fracassi Jul 14 '11 at 09:31
-
Yay! Frankly I hate building libraries, why can't people provide binaries themselves? (+1 and accept) – ApprenticeHacker Jul 14 '11 at 11:11
-
@burningprodigy: what? because it's a free world. In fact, so free that you can simply `apt-get install libboost-dev' on the [majority](http://distrowatch.com/stats.php?section=popularity) of linux boxes. – sehe Jul 15 '11 at 09:51
-
@ApprenticeHacker: did you ever take a look at the number of supported compilers and Operating Systems? If you can't figure out how to compile a Boost library then C++ is probably not for you anyway.. – Jay Oct 12 '12 at 12:24