← Back to team overview

oqgraph-dev team mailing list archive

Re: build errors 2013-02-25

 

Hi Antony

> I have whatever bgl is installed when one does a "sudo apt-get
> libboost-dev"
> 
> I'll fire up the vm and find out.

If it's 12.10 it might be 1.49 by default, but 1.50 is available in the repos.
I'm uninstalling the 1.50 stuff and installing libboost-dev 1.49, see how that works out for a build.

Cheers,
Arjen.


> On Feb 24, 2013 6:11 PM, "Arjen Lentz" < arjen@xxxxxxxxxxxxx > wrote:
> >
> > Hi Antony
> >
> > > Just last night, I installed xubuntu on fresh virtualbox instance.
> > > Updated. Installed bare minimum pkgs before pulling code and
> > > building
> > > it. That vm instance was used on demo, no problems.
> >
> > Good to know.
> > So what does my error output actually mean...
> >
> > I have BGL 1.50
> >
> > Cheers,
> > Arjen.
> >
> >
> > > On Feb 24, 2013 5:54 PM, "Arjen Lentz" < arjen@xxxxxxxxxxxxx >
> > > wrote:
> > > >
> > > > Hi Antony
> > > >
> > > > Did a pull for latest stuff from your tree (on Ubuntu 12.10
> > > > Quantal)
> > > > Build error output as follows
> > > >
> > > > Cheers,
> > > > Arjen.
> > > >
> > > >
> > > > In file included from
> > > > /usr/include/boost/graph/detail/adjacency_list.hpp:31:0,
> > > > from /usr/include/boost/graph/adjacency_list.hpp:337,
> > > > from /usr/include/boost/graph/directed_graph.hpp:10,
> > > > from
> > > > /home/arjen/mariadb/oqgraph3/storage/oqgraph/oqgraph_shim.h:35,
> > > > from
> > > > /home/arjen/mariadb/oqgraph3/storage/oqgraph/graphcore-graph.h:30,
> > > > from
> > > > /home/arjen/mariadb/oqgraph3/storage/oqgraph/graphcore.cc:30:
> > > > /usr/include/boost/graph/graph_concepts.hpp: In instantiation of
> > > > ‘boost::concepts::IncidenceGraph<G>::~IncidenceGraph() [with G =
> > > > oqgraph3::graph]’:
> > > > /usr/include/boost/graph/graph_concepts.hpp:74:1: required from
> > > > ‘static void
> > > > boost::concepts::requirement<boost::concepts::failed************
> > > > Model::************>::failed() [with Model =
> > > > boost::concepts::IncidenceGraphConcept<oqgraph3::graph>]’
> > > > /usr/include/boost/graph/breadth_first_search.hpp:63:1: required
> > > > from ‘void boost::breadth_first_visit(const IncidenceGraph&,
> > > > typename boost::graph_traits<Graph>::vertex_descriptor, Buffer&,
> > > > BFSVisitor, ColorMap) [with IncidenceGraph = oqgraph3::graph;
> > > > Buffer
> > > > = boost::queue<long long unsigned int>; BFSVisitor =
> > > > boost::bfs_visitor<std::pair<boost::predecessor_recorder<boost::associative_property_map<boost::unordered::unordered_map<long
> > > > long unsigned int, long long unsigned int> >,
> > > > boost::on_tree_edge>,
> > > > open_query::oqgraph_goal<false, boost::on_discover_vertex,
> > > > boost::associative_property_map<boost::unordered::unordered_map<long
> > > > long unsigned int, long long unsigned int> > > > >; ColorMap =
> > > > boost::two_bit_judy_map<oqgraph3::vertex_index_property_map>;
> > > > typename boost::graph_traits<Graph>::vertex_descriptor = long
> > > > long
> > > > unsigned int]’
> > > > /home/arjen/mariadb/oqgraph3/storage/oqgraph/graphcore.cc:788:67:
> > > > required from here
> > > > /usr/include/boost/graph/graph_concepts.hpp:92:13: error:
> > > > ‘out_edges’ was not declared in this scope, and no declarations
> > > > were
> > > > found by argument-dependent lookup at the point of instantiation
> > > > [-fpermissive]
> > > > In file included from
> > > > /home/arjen/mariadb/oqgraph3/storage/oqgraph/graphcore.cc:40:0:
> > > > /usr/include/boost/graph/reverse_graph.hpp:235:1: note:
> > > > ‘template<class BidirectionalGraph, class GRef>
> > > > std::pair<typename
> > > > boost::reverse_graph<BidirectionalGraph>::out_edge_iterator,
> > > > typename
> > > > boost::reverse_graph<BidirectionalGraph>::out_edge_iterator>
> > > > boost::out_edges(typename
> > > > boost::graph_traits<Graph>::vertex_descriptor, const
> > > > boost::reverse_graph<BidirectionalGraph, GraphRef>&)’ declared
> > > > here,
> > > > later in the translation unit
> > > > In file included from
> > > > /usr/include/boost/graph/detail/adjacency_list.hpp:31:0,
> > > > from /usr/include/boost/graph/adjacency_list.hpp:337,
> > > > from /usr/include/boost/graph/directed_graph.hpp:10,
> > > > from
> > > > /home/arjen/mariadb/oqgraph3/storage/oqgraph/oqgraph_shim.h:35,
> > > > from
> > > > /home/arjen/mariadb/oqgraph3/storage/oqgraph/graphcore-graph.h:30,
> > > > from
> > > > /home/arjen/mariadb/oqgraph3/storage/oqgraph/graphcore.cc:30:
> > > > /usr/include/boost/graph/graph_concepts.hpp:93:13: error:
> > > > ‘out_degree’ was not declared in this scope, and no declarations
> > > > were found by argument-dependent lookup at the point of
> > > > instantiation [-fpermissive]
> > > > In file included from
> > > > /home/arjen/mariadb/oqgraph3/storage/oqgraph/graphcore.cc:40:0:
> > > > /usr/include/boost/graph/reverse_graph.hpp:257:1: note:
> > > > ‘template<class BidirectionalGraph, class GRef> typename
> > > > boost::graph_traits<Graph>::degree_size_type
> > > > boost::out_degree(typename
> > > > boost::graph_traits<Graph>::vertex_descriptor, const
> > > > boost::reverse_graph<BidirectionalGraph, GraphRef>&)’ declared
> > > > here,
> > > > later in the translation unit
> > > > In file included from
> > > > /usr/include/boost/graph/detail/adjacency_list.hpp:31:0,
> > > > from /usr/include/boost/graph/adjacency_list.hpp:337,
> > > > from /usr/include/boost/graph/directed_graph.hpp:10,
> > > > from
> > > > /home/arjen/mariadb/oqgraph3/storage/oqgraph/oqgraph_shim.h:35,
> > > > from
> > > > /home/arjen/mariadb/oqgraph3/storage/oqgraph/graphcore-graph.h:30,
> > > > from
> > > > /home/arjen/mariadb/oqgraph3/storage/oqgraph/graphcore.cc:30:
> > > > /usr/include/boost/graph/graph_concepts.hpp:95:13: error:
> > > > ‘source’
> > > > was not declared in this scope, and no declarations were found
> > > > by
> > > > argument-dependent lookup at the point of instantiation
> > > > [-fpermissive]
> > > > In file included from
> > > > /home/arjen/mariadb/oqgraph3/storage/oqgraph/graphcore.cc:40:0:
> > > > /usr/include/boost/graph/reverse_graph.hpp:316:1: note:
> > > > ‘template<class Edge, class BidirectionalGraph, class GRef>
> > > > typename
> > > > boost::graph_traits<BidirectionalGraph>::vertex_descriptor
> > > > boost::source(const
> > > > boost::detail::reverse_graph_edge_descriptor<Edge>&, const
> > > > boost::reverse_graph<BidirectionalGraph, GRef>&)’ declared here,
> > > > later in the translation unit
> > > > In file included from
> > > > /usr/include/boost/graph/detail/adjacency_list.hpp:31:0,
> > > > from /usr/include/boost/graph/adjacency_list.hpp:337,
> > > > from /usr/include/boost/graph/directed_graph.hpp:10,
> > > > from
> > > > /home/arjen/mariadb/oqgraph3/storage/oqgraph/oqgraph_shim.h:35,
> > > > from
> > > > /home/arjen/mariadb/oqgraph3/storage/oqgraph/graphcore-graph.h:30,
> > > > from
> > > > /home/arjen/mariadb/oqgraph3/storage/oqgraph/graphcore.cc:30:
> > > > /usr/include/boost/graph/graph_concepts.hpp:96:13: error:
> > > > ‘target’
> > > > was not declared in this scope, and no declarations were found
> > > > by
> > > > argument-dependent lookup at the point of instantiation
> > > > [-fpermissive]
> > > > In file included from
> > > > /home/arjen/mariadb/oqgraph3/storage/oqgraph/graphcore.cc:40:0:
> > > > /usr/include/boost/graph/reverse_graph.hpp:323:1: note:
> > > > ‘template<class Edge, class BidirectionalGraph, class GRef>
> > > > typename
> > > > boost::graph_traits<BidirectionalGraph>::vertex_descriptor
> > > > boost::target(const
> > > > boost::detail::reverse_graph_edge_descriptor<Edge>&, const
> > > > boost::reverse_graph<BidirectionalGraph, GRef>&)’ declared here,
> > > > later in the translation unit
> > > > make[2]: ***
> > > > [storage/oqgraph/CMakeFiles/oqgraph.dir/graphcore.cc.o]
> > > > Error 1
> > > > make[1]: *** [storage/oqgraph/CMakeFiles/oqgraph.dir/all] Error
> > > > 2
> > > > make: *** [all] Error 2
> > > >
> > > > --
> > > > Arjen Lentz, Exec.Director @ Open Query ( http://openquery.com )
> > > > Australian peace of mind for your MySQL/MariaDB infrastructure.
> > > >
> > > > Follow us at http://openquery.com/blog/ &
> > > > http://twitter.com/openquery
> > > >
> >
> > --
> > Arjen Lentz, Exec.Director @ Open Query ( http://openquery.com )
> > Australian peace of mind for your MySQL/MariaDB infrastructure.
> >
> > Follow us at http://openquery.com/blog/ &
> > http://twitter.com/openquery
> >

-- 
Arjen Lentz, Exec.Director @ Open Query (http://openquery.com)
Australian peace of mind for your MySQL/MariaDB infrastructure.

Follow us at http://openquery.com/blog/ & http://twitter.com/openquery



Follow ups

References