You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation is perhaps not as clear as it could be here. When we say "with threads enabled", this is a global option for all of the Boost libraries which has to be selected at compile time. In the olden days, some distributions shipped two versions of Boost, one which had threads enabled (and typically had -mt at the end of the .so filenames) and one which didn't. This doesn't refer to the Boost threads library, which we don't use.
Possibly the best approach here is to document which Boost packages should be installed on common distributions. On recent Ubuntu, it's libboost-all-dev. On older versions of Ubuntu, I seem to recall there were separate -mt Boost packages instead.
I understand now! I was confused because I was installing from source according to the boost getting started instructions, so I thought that "threads" was referring to a "separately-compiled Boost library" (see 5 and 5.1). I would have installed libboost-all-dev with apt-get, but I don't have sudo permissions on the machine I am using and I hadn't come across this SU answer at the time. Suggesting libboost-all-dev (et al) sounds okay to me.
Installing glasgow with
make CXX=g++-7
, I was getting some errors likebecause I installed boost with only the
threads
library, since that was the only library mentioned in the install instructions.The text was updated successfully, but these errors were encountered: