Boost logo

Boost-Build :

From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2004-12-02 08:43:54


Vladimir Prus wrote:

> - take the 'convert.jam' file from the attached archive, add "import convert ;
> " somewhere in your project and then use:
>
> lib your_lib : objects ;
> convert objects obj : a.cpp b.cpp ;
>
> I attach a fully working setup, that I've tested with
>
> bjam threading=single,multu
>
> (the a.cpp and b.cpp files are compiled with multithreading both times).
> The convert.jam is part of my project and will be added to V2 eventually, just
> not now.

Great. I tested it on linux and it works fine. Than I tested it on
windows and I get following error ;-(
 --------------070706030305010202050608 Content-Type: application/zip;
name="bjam_test.zip"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="bjam_test.zip"

[Attachment content not displayed.] --------------070706030305010202050608 Content-Type: text/plain;
name="error_msg.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="error_msg.txt"

c:/cvstop/boost/tools/build/v2/build\generators.jam:561: in consume-directly
*** argument error
* rule type.is-derived ( type base )
* called with: ( OBJ )
* missing argument base
c:/cvstop/boost/tools/build/v2/build\type.jam:181:see definition of rule 'is-derived' being called
c:/cvstop/boost/tools/build/v2/build\generators.jam:457: in convert-to-consumable-types
c:/cvstop/boost/tools/build/v2/build\generators.jam:536: in convert-multiple-sources-to-consumable-types
c:/cvstop/boost/tools/build/v2/build\generators.jam:301: in run-really
c:/cvstop/boost/tools/build/v2/build\generators.jam:285: in generator.run
c:/cvstop/boost/tools/build/v2/tools\builtin.jam:612: in object(linking-generator)@2.run
c:/cvstop/boost/tools/build/v2/build\generators.jam:710: in try-one-generator
c:/cvstop/boost/tools/build/v2/build\generators.jam:1015: in construct-without-caching
c:/cvstop/boost/tools/build/v2/build\generators.jam:1093: in generators.construct
c:/cvstop/boost/tools/build/v2/tools\builtin.jam:376: in object(lib-generator)@1.run
c:/cvstop/boost/tools/build/v2/build\generators.jam:710: in try-one-generator
c:/cvstop/boost/tools/build/v2/build\generators.jam:1015: in construct-without-caching
c:/cvstop/boost/tools/build/v2/build\generators.jam:1093: in generators.construct
c:/cvstop/boost/tools/build/v2/build\targets.jam:1215: in construct
c:/cvstop/boost/tools/build/v2/build\targets.jam:1082: in object(typed-target)@11.generate
c:/cvstop/boost/tools/build/v2/build\targets.jam:689: in generate-really
c:/cvstop/boost/tools/build/v2/build\targets.jam:662: in object(main-target)@3.generate
c:/cvstop/boost/tools/build/v2/build\targets.jam:215: in object(project-target)@2.generate
c:/cvstop/boost/tools/build/v2\build-system.jam:154: in load
c:\cvstop\boost\tools\build\v2/kernel\modules.jam:259: in import
c:\cvstop\boost\tools\build\v2/kernel/bootstrap.jam:120: in boost-build
C:\Documents and Settings\tk\Desktop\bjam_test\bjam_test\boost-build.jam:1: in module scope
 --------------070706030305010202050608--


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