Boost logo

Boost :

From: John Reid (j.reid_at_[hidden])
Date: 2006-12-22 17:17:00


Douglas Gregor wrote:
> I just put a BBv2-based build system into the BGL-Python Subversion
> repository this Wednesday. If you update to the latest Subversion
> revision, it should work with Boost RC_1_34_0 and CVS HEAD. If not,
> please report back and we'll try to get it fixed.

Right that looks like just what I need except I had to change a few
things to get it to work on my system (boost RC_1_34_0 with MSVC 2005
express sp1)

1) I had to change the boost graph library line to the following:
   <library>/boost/graph//bgl-viz

2) I had to add the following to the bgl-python project's requirements:
        <define>BOOST_ALL_NO_LIB # disable boost auto-linking
I think this is because I've misconfigured boost.build v2 somewhere.
Anyhow this works for me, otherwise bjam complains it cannot find the
boost python library.

3) I was still getting unresolved symbols from expat until I made the
following changes to the expat Jamfile.v2

project expat-2.0.0
   : source-location lib
   : build-dir bin.v2
   : requirements
     <define>HAVE_MEMMOVE
     <define>XML_STATIC
           <define>XML_BUILDING_EXPAT
        <link>static
   : usage-requirements
        <define>HAVE_MEMMOVE
        <define>XML_STATIC
   ;

lib expat
   : # Sources
     xmlparse.cpp
     xmlrole.cpp
     xmltok.cpp
   ;

4) The install option complains with the following:
Jamfile.v2:181: in load-aux
*** argument error
* rule SHELL ( command : * )
* called with: ( )
* missing argument command
(builtin):see definition of rule 'SHELL' being called
C:/Dev/ThirdParty/boost/RC_1_34_0/boost/tools/build/v2/build\project.jam:318:
in
  load-jamfile
C:/Dev/ThirdParty/boost/RC_1_34_0/boost/tools/build/v2/build\project.jam:68:
in
load
C:/Dev/ThirdParty/boost/RC_1_34_0/boost/tools/build/v2/build\project.jam:170:
in
  project.find
C:/Dev/ThirdParty/boost/RC_1_34_0/boost/tools/build/v2\build-system.jam:215:
in
load
C:\Dev\ThirdParty\boost\RC_1_34_0\boost\tools\build\v2/kernel\modules.jam:261:
i
n import
C:\Dev\ThirdParty\boost\RC_1_34_0\boost\tools\build\v2/kernel/bootstrap.jam:132:
  in boost-build
C:\Dev\ThirdParty\boost\bgl-python\boost-build.jam:9: in module scope

but I can install the library manually. Or I thought I could, actually I
can't import it because of a dependency on msvcr80.dll. I'm scratching
my head over this one. It must be something to do with my 'upgrade' to
sp1 - something I'd advise anyone else against.

Thanks for a very useful library it is much appreciated,
John.


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