10 Oct
2008
10 Oct
'08
4:01 p.m.
DDBeatty writes:
Adding the following define to your preprocessor definitions should take care of the problem:
BOOST_ALL_DYN_LINK
This should probably be mentioned in the getting started documentation. I spent nearly a day on this recently.
It's worth mentioning that the reason this is necessary is because by default only shared libraries are built, but by default static libraries are autolinked. So an alternative to the above preprocessor definition (and the better option in most cases, IMO) is to build static boost libs (either invoke bjam with --build-type=complete or with link=static).