
On 7/2/06, Rene Rivera <grafikrobot@gmail.com> wrote:
It used to be that the default build of Boost attempted to build both single and multi thread variants, and also static and dynamic, of libraries. But it seems this is no longer the case.
It seems that way too to me -- but it might be something with regards to the toolset I'm using, and the configuration of BBv2 for MSVC, though I don't have a way of verifying otherwise right now. Another thing I noticed with regards to BBv2 is that even if I'm using msvc, the libraries being searched for in the linking phase still contain the "lib" prefix (a convention in the Unix build system using the GNU toolset). It's either the boost libraries aren't being built with the "lib" filename prefix in Windows, or the link configuration is looking for the wrong file. The specific use case will be for unit-tests: unit-test my_unit_test : my_unit_test.cpp ; The linker complains this: 1>LINK : fatal error LNK1104: cannot open file 'libboost_unit_test_framework-vc80-mt-gd-1_34.lib' when the library built is just named "boost_unit_test_framework-vc80-mt-gd-1_34.lib" without the "lib" prefix. It might be a misconfiguration on the "unit-test" rule, or something else, though I haven't checked yet myself.
You can force doing a build that has all the various variants with something like:
bjam -v2 install msvc-8.0/variant=debug,release/runtime-link=shared,static/threading=single,multi
I'm also trying to figure out how to make that the default again :-)
HTH.
Yup, the above tip helps. :) -- Dean Michael C. Berris C/C++ Software Architect Orange and Bronze Software Labs http://3w-agility.blogspot.com/ http://cplusplus-soup.blogspot.com/ Mobile: +639287291459 Email: dean [at] orangeandbronze [dot] com