Boost logo

Boost-Build :

Subject: Re: [Boost-build] [BGL] read_graphviz lib compiling
From: Vladimir Prus (ghost_at_[hidden])
Date: 2009-11-24 06:37:55


On Tuesday 24 November 2009 10:43:57 Cosimo Calabrese wrote:

> Hi to all,
>
> I'm using MSVS 2005 and boost 1.37.
>
> I've readed in the read_graphviz documentation that if I want to use
> that function I must compile a lib with the source that I can found in
> \libs\graph\src. But I can't find any *.jam file to do it. I've founded
> the Unix istruction to do it, but not for MSVS.

Just follow the usual getting started guide. E.g.

        .\bootstrap
        .\bjam --with-graph

The library will be in stage\lib.

> Which are the correct compiler params to compile the lib?
> What's the name that the lib must have?
> The lib must locate in the /stage/lib directory?
> Why the read_graphviz is in a separate cpp module, and not in a hpp file
> like the write_graphviz function?

Only Boost.Graph maintainers can give you the authoritative answer on this, but
my guess is that parsing is more complex matter, and therefore you don't
want to have that code compiled into every module that calls read_graphviz,
as would be the case if that code were fully templated or inline.

- Volodya


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