Curiously, it compiles fine with Boost 1.50 on my mac. I'll try it in a vm running Ubuntu.
On 14 Feb, 2013, at 9:33 pm, Arjen Lentz wrote: > Hi Antony > >> I will check what version of Boost I have installed. If they changed >> something, I may need to ifdef for Boost versions. > > Yep that sounds good - in fact, we should ideally do that for all Boost > versions. > This because the different build platforms each have different versions > anyway, so that'll prevent problems. > (different distros and versions of distros) > > Cheers, > Arjen. > > >> On Feb 14, 2013 7:45 PM, "Arjen Lentz" < ar...@openquery.com > wrote: >> >> >> Hi Antony >> >> Working from another machine so it may not have all the required >> stuff... >> It's an Ubuntu 12.10 (Quantal) with Boost 1.50 >> Building with BUILD/compile-amd64-debug-max-no-ndb (please tell if >> another one is more appropriate) >> Can you make anything of the below? thanks >> >> >> >> [ 41%] Built target example >> [ 41%] Built target Judy >> [ 42%] Building CXX object >> storage/oqgraph/CMakeFiles/oqgraph.dir/graphcore.cc.o >> 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:33: >> /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:43: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:33: >> /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:43: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:33: >> /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:43: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:33: >> /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:43: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 >> >> >> Cheers, >> Arjen. >> -- >> 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 > Antony T Curtis atcur...@gmail.com 0523 C487 9187 6972 6894 AEC7 3087 F819 B477 B687
-- Mailing list: https://launchpad.net/~oqgraph-dev Post to : oqgraph-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~oqgraph-dev More help : https://help.launchpad.net/ListHelp