Boost logo

Boost-Build :

Subject: Re: [Boost-build] [BGL] read_graphviz lib compiling
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2009-11-24 08:33:32


On Mon, 23 Nov 2009, 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.
>
> 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?

The Jamfile is in libs/graph/build/; it should work on all platforms and
produces a library boost_graph (with platform-specific naming
conventions). The reason that read_graphviz is in a separate source file
is that it is not a template, while write_graphviz is templated over the
graph type.

-- Jeremiah Willcock


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