Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-12-05 02:23:34

Hi Patrick,

> I'm trying to use bjam version 3.1.11 with boost build v1 to build my
> c++ program
> When I run the above Jamfile it gives me the following error:
> *** argument error
> * rule lib ( target : sources + : requirements * : default-build * )
> * called with: ( first : : <file>libfirst.a <variant>debug )
> * missing argument sources
> /home/pattan/repo/trunk/tools/build/v1/boost-base.jam:2070:see
> it gives an
> example just like my Jamfile. So I don't understand why my Jamfile gives
> an error unless the documentation on the website is incorrect and I need
> to put something for the sources parameter.

The problem is that the documentation URL is for Boost.Build V2, while you use
Boost.Build V1, which has different syntax. Either you need to use V1 syntax,
or use V2 by pointing your BOOST_BUILD_PATH environment variable
to .../tools/build/v2, not .../tools/build/v1

- Volodya

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at