Re: Trouble building libbgl-viz.a
Steve Juranich wrote: Hi Steve, sorry that it took quite some time to reply,
My version of graphviz_graph_parser.hpp has the following (lines 55-58):
#ifndef YYSTYPE typedef int yystype; # define YYSTYPE yystype #endif
So it looks like the test is different as well as the #define arguments being switched around.
When I changed my lines to match your lines, I was able to get the graphviz_graph_lex.o file, but the build chokes again when it tries to re-run with -DGRAPHVIZ_DIRECTED=1.
Could you modify yystype.h to read: #ifndef BOOST_GRAPH_YYSTYPE_H #define BOOST_GRAPH_YYSTYPE_H union yystype { int i; void* ptr; }; #define YYSTYPE yystype #endif // BOOST_GRAPH_YYSTYPE_H This works for me and it if works for you as well, I'll commit the change. - Volodya
On Fri, 19 Mar 2004, Vladimir Prus wrote:
sorry that it took quite some time to reply,
No problem.
Could you modify yystype.h to read:
#ifndef BOOST_GRAPH_YYSTYPE_H #define BOOST_GRAPH_YYSTYPE_H
union yystype { int i; void* ptr; }; #define YYSTYPE yystype
#endif // BOOST_GRAPH_YYSTYPE_H
This works for me and it if works for you as well, I'll commit the change.
That seems to have done the trick. Everything seems to have built okay and 'make' exitted successfully. Many thanks. -- Stephen W. Juranich Science Applications Intl. Corp. (SAIC) (520) 570-7706
Steve Juranich wrote:
Could you modify yystype.h to read:
#ifndef BOOST_GRAPH_YYSTYPE_H #define BOOST_GRAPH_YYSTYPE_H
union yystype { int i; void* ptr; }; #define YYSTYPE yystype
#endif // BOOST_GRAPH_YYSTYPE_H
This works for me and it if works for you as well, I'll commit the change.
That seems to have done the trick. Everything seems to have built okay and 'make' exitted successfully.
Good. I've comitted the change. Thanks, Volodya
participants (2)
-
Steve Juranich
-
Vladimir Prus