Boost logo

Boost-Build :

Subject: [Boost-build] Can't build personal project after move to modular Boost (builtin.jam:766)
From: Joshua Boyce (raptorfactor_at_[hidden])
Date: 2014-01-13 22:58:55


I recently tried to move my build environment to use the new modular Boost,
and everything was working until I tried to compile my own project which
uses Boost.Build (compiling the Boost libs I depend on worked fine, as did
setting up the headers etc).

b2 output:
Performing configuration checks
    - symlinks supported : no
    - hardlinks supported : yes
C:/Code/modular-boost/tools/build/src/tools\builtin.jam:766: in
class_at_linking-generator.run
*** argument error
* rule type.is-derived ( type base )
* called with: ( SHARED_LIB )
* missing argument base
C:/Code/modular-boost/tools/build/src/build\type.jam:219:see definition of
rule 'type.is-derived' being called
C:/Code/modular-boost/tools/build/src/build\generators.jam:994: in
try-one-generator-really
C:/Code/modular-boost/tools/build/src/build\generators.jam:1056: in
try-one-generator
C:/Code/modular-boost/tools/build/src/build\generators.jam:1294: in
construct-really
C:/Code/modular-boost/tools/build/src/build\generators.jam:1378: in
generators.construct
C:/Code/modular-boost/tools/build/src/build\targets.jam:1532: in construct
C:/Code/modular-boost/tools/build/src/build\targets.jam:1332: in
class_at_basic-target.generate
C:/Code/modular-boost/tools/build/src/build\targets.jam:757: in
generate-really
C:/Code/modular-boost/tools/build/src/build\targets.jam:729: in
class_at_main-target.generate
C:/Code/modular-boost/tools/build/src/build\targets.jam:272: in
class_at_project-target.generate
C:/Code/modular-boost/tools/build/src/build\targets.jam:874: in
targets.generate-from-reference
C:/Code/modular-boost/tools/build/src/build\targets.jam:1245: in
generate-dependencies
C:/Code/modular-boost/tools/build/src/build\targets.jam:1302: in
class_at_basic-target.generate
C:/Code/modular-boost/tools/build/src/build\targets.jam:757: in
generate-really
C:/Code/modular-boost/tools/build/src/build\targets.jam:729: in
class_at_main-target.generate
C:/Code/modular-boost/tools/build/src/build\targets.jam:272: in
class_at_project-target.generate
C:/Code/modular-boost/tools/build/src\build-system.jam:707: in load
C:\Code\modular-boost\tools\build\src/kernel\modules.jam:289: in import
C:\Code\modular-boost\tools\build\src/kernel/bootstrap.jam:139: in
boost-build
C:\Code\modular-boost\boost-build.jam:17: in module scope

Anyone know what could be going on here? I flailed around on my own for a
bit, but got nowhere.

I added some logging (ECHO $(s) ;) and after a bunch of lines like
"object(file-target)@3108" (where the number on the end is different each
time) it seems it fails once it hits one of type
"object(notfile-target)@1849"...

My complete project source code (along with jamfiles etc) is available here:
https://code.google.com/p/hadesmem/source/browse/trunk

Thanks in advance.



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