building graph library
i just started looking at the boost libraries and thus i'm a total beginner. i'm trying to build the graph library in particular, and i haven't had any luck at all. first, is it a buildable library, or is it just a collection of templates? if so (collection of templates), how do i use it? i'm using windows xp, and building for Visual Studio 6 thanks!
To my knowledge, only one component of boost.graph is a library, and it is optional. It provides an I/O facility for graphviz "dot" files. Since it uses lex and yacc, I can see how it might be a problem to build it on a windows machine. On my linux machine, all I had to do was run the Jamfile in $BOOST_ROOT/libs/graph/build. In glancing in this directory's Jamfile, it looks like it doesn't actually use these tools, but relies on the output files of these tools to be present in the source package. You are headed for trouble with Microsoft's VC6. Don't know the details, but even with sp5, or was it 6?, this compiler was junk compared to whats available today. kyle huang wrote:
i just started looking at the boost libraries and thus i'm a total beginner. i'm trying to build the graph library in particular, and i haven't had any luck at all. first, is it a buildable library, or is it just a collection of templates? if so (collection of templates), how do i use it?
i'm using windows xp, and building for Visual Studio 6
thanks!
On Oct 8, 2004, at 1:06 PM, kyle huang wrote:
i just started looking at the boost libraries and thus i'm a total beginner. i'm trying to build the graph library in particular, and i haven't had any luck at all. first, is it a buildable library, or is it just a collection of templates? if so (collection of templates), how do i use it?
i'm using windows xp, and building for Visual Studio 6
Just expanding on Jeffrey Holle's answer at a bit... Visual Studio 6 is, unfortunately, very unstable when compiling the graph library code. Simple uses do work, but unfortunately if you push too hard you will run into problems. We've tried fixing it in the past without much success. Doug
participants (3)
-
Doug Gregor
-
Jeffrey Holle
-
kyle huang