Boost logo

Boost Users :

From: Brian Braatz (brianb_at_[hidden])
Date: 2004-07-27 00:45:16


For the last several days (a few hours each day) I have been trying to
get the \tools\build\v2\example\hello sample to build with bjam-
(windows XP, vc7.1)

I CAN build boost from the command line, but when I move into the
\tools\build\v2\example\hello dir and try various combinations of bjam
(with and without -sTools=vc7.1 etc..) I get the same error no matter
what I do.

I took the bjam sources and compiled a debug version in the Visual
Studio IDE, and have spent the evening stepping through the code and
reading the docs. This is one of these things I think that I just have
to completely internalize how this thing works before I will crack this.

What I am asking for from this list:

* Any basic advice on debugging what bjam is doing
* any basic advice or good sample that is a bare and working bjam
project to look at
* This is weird to me, as the ENV var for the toolset DOES work for
building boost itself
* I feel like I am missing something obvious and stupid, anyone who
wishes to point out what dumb thing I missed, please go at it :)
* any help in looking at this output:

C:\Data\Rmtg\Root\_Common\_Lib\Boost\V_1_31\tools\build\v2\example\hello
>bjam
warning: no toolsets are configured.
warning: you won't be able to build C++ programs.
warning: please consult the documentation.

C:/Data/Rmtg/Root/_Common/_Lib/Boost/V_1_31/tools/build/v2/build\targets
.jam:1073: in construct from module object(exe-t
arget-class)@1
error: unable to construct ./hello
C:/Data/Rmtg/Root/_Common/_Lib/Boost/V_1_31/tools/build/v2/build\targets
.jam:914: in object(exe-target-class)@1.generate
 from module object(exe-target-class)@1
C:/Data/Rmtg/Root/_Common/_Lib/Boost/V_1_31/tools/build/v2/build\targets
.jam:510: in generate-really from module object(
main-target)@1
C:/Data/Rmtg/Root/_Common/_Lib/Boost/V_1_31/tools/build/v2/build\targets
.jam:483: in object(main-target)@1.generate from
 module object(main-target)@1
C:/Data/Rmtg/Root/_Common/_Lib/Boost/V_1_31/tools/build/v2/build\targets
.jam:179: in object(project-target)@1.generate f
rom module object(project-target)@1
C:/Data/Rmtg/Root/_Common/_Lib/Boost/V_1_31/tools/build/v2\build-system.
jam:160: in load from module build-system
C:\Data\Rmtg\Root\_Common\_Lib\Boost\V_1_31\tools\build\v2\example\..\ke
rnel\modules.jam:259: in import from module modu
les
C:\Data\Rmtg\Root\_Common\_Lib\Boost\V_1_31\tools\build\v2\example\..\ke
rnel\bootstrap.jam:120: in boost-build from modu
le
C:\Data\Rmtg\Root\_Common\_Lib\Boost\V_1_31\tools\build\v2\example\boost
-build.jam:2: in module scope from module

C:\Data\Rmtg\Root\_Common\_Lib\Boost\V_1_31\tools\build\v2\example\hello
>set TOOLs
TOOLS=vc7.1

Any help would be appreciated, tomorrow afternoon I am going to go back
at it, and this time I might "get all medieval" about things :)

 


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net