Boost logo

Boost :

From: JD (jean.daniel.michaud_at_[hidden])
Date: 2007-05-15 06:31:11


Hi,

   bjam on 1_34_0 and on HEAD fails to compile algorithm/string/example:

***********************************************************************
bjam --toolset=msvc-8.0
warning: Graph library does not contain optional GraphML reader.
note: to enable GraphML support, set EXPAT_INCLUDE and EXPAT_LIBPATH to the
note: directories containing the Expat headers and libraries, respectively.
warning: skipping optional Message Passing Interface (MPI) library.
note: to enable MPI support, add "using mpi ;" to user-config.jam.
note: to suppress this message, pass "--without-mpi" to bjam.
note: otherwise, you can safely ignore this message.
warning: Python location is not configured
warning: the Boost.Python library won't be built
Building Boost.Regex with the optional Unicode/ICU support disabled.
Please refer to the Boost.Regex documentation for more information
(don't panic: this is a strictly optional feature).
Jamfile:10: in modules.load
rule subproject unknown in module Jamfile</G:/Program
Files/boost-cvs/boost/libs
/algorithm/string/example>.
G:/Program Files/boost-cvs/boost/tools/build/v2/build\project.jam:312:
in load-j
amfile
G:/Program Files/boost-cvs/boost/tools/build/v2/build\project.jam:68: in
load
G:/Program Files/boost-cvs/boost/tools/build/v2/build\project.jam:170:
in projec
t.find
G:/Program Files/boost-cvs/boost/tools/build/v2\build-system.jam:237: in
load
G:\Program Files\boost-cvs\boost\tools\build\v2/kernel\modules.jam:261:
in impor
t
G:\Program
Files\boost-cvs\boost\tools\build\v2/kernel/bootstrap.jam:132: in boo
st-build
G:\Program Files\boost-cvs\boost\boost-build.jam:9: in module scope
***********************************************************************

Seems that the jamfile has not been updated for the new build system.
I'm no expert in bjam and I don't find the documentation very helpful
but the Jamfile attached can at least compile most of the example (apart
regex_example).

Thanks.

JD


# Boost string_algo library examples Jamfile ---------------------------------
#
# Copyright Pavol Droba 2002-2003. Use, modification and
# distribution is subject to the Boost Software License, Version
# 1.0. (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
#
# See http://www.boost.org for updates, documentation, and revision history.

exe conv_example
    :
    conv_example.cpp
    :
    <include>$(BOOST_ROOT)
    :
    ;

exe predicate_example
    :
    predicate_example.cpp
    :
    <include>$(BOOST_ROOT)
    :
    ;

exe find_example
    :
    find_example.cpp
    :
    <include>$(BOOST_ROOT)
    :
    ;

exe replace_example
    :
    replace_example.cpp
    :
    <include>$(BOOST_ROOT)
    :
    ;

exe rle_example
    :
    rle_example.cpp
    :
    <include>$(BOOST_ROOT)
    :
    ;

exe trim_example
    :
    trim_example.cpp
    :
    <include>$(BOOST_ROOT)
    :
    ;

exe regex_example
    :
    regex_example.cpp
    :
    <include>$(BOOST_ROOT)
    :
    ;

exe split_example
    :
    split_example.cpp
    :
    <include>$(BOOST_ROOT)
    :
    ;


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk