CodeShop

Boost_1_34_0

June 25th, 2007

In our projects we use Bjam (v2) as our build system. We just updated from Boost from version 1.33 to 1.34, and for this to work we had to tweak some jamfiles.

It took some time to find out why the following error occured:

warning: http://boost.org/boost-build2/doc/html/bbv2/ advanced/configuration.html C:/.../trunk/thirdp/boost_1_34_0/tools/build/v2/build\feature.jam:704: in expand-composites from module feature error: explicitly-specified values of non-free feature conflict error: existing values: off on error: value from expanding on : on

The reason seems to be a mix of using the UTF (Unit Test Framework) and usage-requirements in the jamfile. When there are usage-requirements in the jamfile that reference libraries (e.g. <library>/yourlibhere) it triggers this error. An easy solution is to remove the requirements. If that’s the route you take, then unfortunately you have to propagate the requirements to other jamfiles manually.

If anyone has a solution to using both the usage-requirements and the Unit Test Framework leave us a message.

Sorry, comments are closed for this article.