[vtk-developers] Compiler errors latest git clone

David Doria daviddoria+vtk at gmail.com
Fri Apr 23 11:28:18 EDT 2010


This morning I did a fresh clone of the new git repository. When I
tried to compile, I got this:

In file included from
/home/doriad/src/VTK/Infovis/vtkBoostBreadthFirstSearchTree.cxx:42:
/usr/include/boost/graph/reverse_graph.hpp: In instantiation of
‘boost::reverse_graph<vtkDirectedGraph*, vtkDirectedGraph* const&>’:
/home/doriad/src/VTK/Infovis/vtkBoostBreadthFirstSearchTree.cxx:252:
instantiated from here
/usr/include/boost/graph/reverse_graph.hpp:80: error:
‘vtkDirectedGraph*’ is not a class, struct, or union type
/usr/include/boost/graph/reverse_graph.hpp:82: error:
‘vtkDirectedGraph*’ is not a class, struct, or union type
In file included from
/home/doriad/src/VTK/Infovis/vtkBoostBreadthFirstSearchTree.cxx:41:
/usr/include/boost/graph/breadth_first_search.hpp: In function ‘void
boost::breadth_first_visit(const IncidenceGraph&, typename
boost::graph_traits<Graph>::vertex_descriptor, Buffer&, BFSVisitor,
ColorMap) [with IncidenceGraph =
boost::reverse_graph<vtkDirectedGraph*, vtkDirectedGraph* const&>,
Buffer = boost::queue<int, std::deque<int, std::allocator<int> > >,
BFSVisitor = bfs_tree_builder<vtkIdTypeArray*>, ColorMap =
boost::vector_property_map<boost::default_color_type,
boost::identity_property_map>]’:

I tried to #include <vtkDirectedGraph.h> but nothing changed.

Thoughts?

David



More information about the vtk-developers mailing list