Boost logo

Boost-Build :

Subject: Re: [Boost-build] Problems building boost threads lib from another bjam based project
From: Claus Dræby (cld_at_[hidden])
Date: 2012-06-22 16:24:13


On Fri, 22 Jun 2012 21:18:12 +0200
Jurko Gospodnetić <jurko.gospodnetic_at_[hidden]> wrote:

> Hi.
>
> > I have a project that is supposed to build on several different
> > architectures, with as few assumptions of local environment as
> > possible, and therefore includes the boost libraries as yet another
> > set of 3rd party libs.
>
> I know this is kind of an 'obvious first step', but could you
> provide a simple project reproducing the problem?
>
> Best regards,
> Jurko Gospodnetić
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost-build

I thought it was an error always occurring, but there is an extra
condition that is required to trigger it - an extra project.

So here is the minimum configuration I have provoked the message with:

Standing in a directory (3rd) with an unpacked boost_1_49_0, and a
directory named xyzzy, and the following Jamroot:
Jamroot:
use-project xyzzy : xyzzy ;
alias json : xyzzy//xyzzy ;

alias boost_system : boost_1_49_0//system ;
alias boost_thread : boost_1_49_0//thread ;
alias boost : boost_thread boost_system ;

in xyzzy:
Jamfile:
lib xyzzy : t.cpp ;
t.cpp:
void f() {}

$ export BOOST_ROOT=$(pwd)/boost_1_49_0/tools/build/v2
$ ./boost_1_49_0/bjam
provokes the long error message about missing argument for the tag
command.

Best regards,
Claus Dræby


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk