|
Boost-Build : |
From: Patrick Tan (pxt_at_[hidden])
Date: 2005-12-05 19:11:51
Hi VladimirHi 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........http://www.boost.org/doc/html/bbv2/tutorial/prebuilt.html 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 mailing list Boost-build@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-build
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