Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 10:48:53 **** Build of configuration Debug for project graph-boost ****
- make all
- Building file: ../max_flow_avec_bundled_properties.cpp
- Invoking: Cross G++ Compiler
- g++-5 -std=c++11 -I/home/maelv/cpp/boost_1_58_0/include -O0 -g3 -Wall -c -fmessage-length=0 -Wdeprecated-declarations -MMD -MP -MF"max_flow_avec_bundled_properties.d" -MT"max_flow_avec_bundled_properties.d" -o "max_flow_avec_bundled_properties.o" "../max_flow_avec_bundled_properties.cpp"
- In file included from /home/maelv/cpp/boost_1_58_0/include/boost/graph/adjacency_list.hpp:246:0,
- from ../max_flow_avec_bundled_properties.cpp:12:
- /home/maelv/cpp/boost_1_58_0/include/boost/graph/detail/adjacency_list.hpp: In instantiation of ‘struct boost::detail::adj_list_any_edge_pmap::bind_<boost::adjacency_list<boost::listS, boost::vecS, boost::directedS, node_t, edge_t>, edge_t, boost::edge_capacity_t>’:
- /home/maelv/cpp/boost_1_58_0/include/boost/graph/detail/adjacency_list.hpp:2728:12: required from ‘struct boost::detail::adj_list_choose_edge_pmap<boost::edge_capacity_t, boost::adjacency_list<boost::listS, boost::vecS, boost::directedS, node_t, edge_t>, edge_t>’
- /home/maelv/cpp/boost_1_58_0/include/boost/graph/detail/adjacency_list.hpp:2733:14: required from ‘struct boost::detail::adj_list_edge_property_selector::bind_<boost::adjacency_list<boost::listS, boost::vecS, boost::directedS, node_t, edge_t>, edge_t, boost::edge_capacity_t>’
- /home/maelv/cpp/boost_1_58_0/include/boost/graph/properties.hpp:192:12: required from ‘struct boost::detail::edge_property_map<boost::adjacency_list<boost::listS, boost::vecS, boost::directedS, node_t, edge_t>, boost::edge_capacity_t>’
- /home/maelv/cpp/boost_1_58_0/include/boost/graph/properties.hpp:212:10: required from ‘struct boost::property_map<boost::adjacency_list<boost::listS, boost::vecS, boost::directedS, node_t, edge_t>, boost::edge_capacity_t, void>’
- /home/maelv/cpp/boost_1_58_0/include/boost/graph/find_flow_cost.hpp:18:1: required by substitution of ‘template<class Graph, class Capacity, class ResidualCapacity, class Weight> typename boost::property_traits<typename boost::property_map<Graph, boost::edge_capacity_t>::type>::value_type boost::find_flow_cost(const Graph&, Capacity, ResidualCapacity, Weight) [with Graph = boost::adjacency_list<boost::listS, boost::vecS, boost::directedS, node_t, edge_t>; Capacity = boost::adj_list_edge_property_map<boost::directed_tag, double, double&, long unsigned int, edge_t, double edge_t::*>; ResidualCapacity = boost::adj_list_edge_property_map<boost::directed_tag, float, float&, long unsigned int, edge_t, float edge_t::*>; Weight = boost::adj_list_edge_property_map<boost::directed_tag, float, float&, long unsigned int, edge_t, float edge_t::*>]’
- ../max_flow_avec_bundled_properties.cpp:95:50: required from here
- /home/maelv/cpp/boost_1_58_0/include/boost/graph/detail/adjacency_list.hpp:2696:29: error: forming reference to void
- typedef value_type& reference;
- ^
- /home/maelv/cpp/boost_1_58_0/include/boost/graph/detail/adjacency_list.hpp:2697:35: error: forming reference to void
- typedef const value_type& const_reference;
- ^
- /home/maelv/cpp/boost_1_58_0/include/boost/graph/detail/adjacency_list.hpp:2701:61: error: forming reference to void
- typename Graph::vertex_descriptor,Property,Tag> type;
- ^
- /home/maelv/cpp/boost_1_58_0/include/boost/graph/detail/adjacency_list.hpp:2704:68: error: forming reference to void
- typename Graph::vertex_descriptor,const Property, Tag> const_type;
- ^
- ../max_flow_avec_bundled_properties.cpp: In function ‘int main()’:
- ../max_flow_avec_bundled_properties.cpp:95:50: error: no matching function for call to ‘find_flow_cost(Graph&, boost::detail::adj_list_any_edge_pmap::bind_<boost::adjacency_list<boost::listS, boost::vecS, boost::directedS, node_t, edge_t>, edge_t, double edge_t::*>::type&, boost::detail::adj_list_any_edge_pmap::bind_<boost::adjacency_list<boost::listS, boost::vecS, boost::directedS, node_t, edge_t>, edge_t, float edge_t::*>::type&, boost::detail::adj_list_any_edge_pmap::bind_<boost::adjacency_list<boost::listS, boost::vecS, boost::directedS, node_t, edge_t>, edge_t, float edge_t::*>::type&)’
- find_flow_cost(g,capacity,residual_capacity,cost);
- ^
- In file included from ../max_flow_avec_bundled_properties.cpp:15:0:
- /home/maelv/cpp/boost_1_58_0/include/boost/graph/find_flow_cost.hpp:18:1: note: candidate: template<class Graph, class Capacity, class ResidualCapacity, class Weight> typename boost::property_traits<typename boost::property_map<Graph, boost::edge_capacity_t>::type>::value_type boost::find_flow_cost(const Graph&, Capacity, ResidualCapacity, Weight)
- find_flow_cost(const Graph & g, Capacity capacity, ResidualCapacity residual_capacity, Weight weight) {
- ^
- /home/maelv/cpp/boost_1_58_0/include/boost/graph/find_flow_cost.hpp:18:1: note: substitution of deduced template arguments resulted in errors seen above
- /home/maelv/cpp/boost_1_58_0/include/boost/graph/find_flow_cost.hpp:32:1: note: candidate: template<class Graph, class P, class T, class R> typename boost::property_traits<typename boost::property_map<Graph, boost::edge_capacity_t>::type>::value_type boost::find_flow_cost(const Graph&, const boost::bgl_named_params<T, Tag, Base>&)
- find_flow_cost(const Graph & g,
- ^
- /home/maelv/cpp/boost_1_58_0/include/boost/graph/find_flow_cost.hpp:32:1: note: template argument deduction/substitution failed:
- ../max_flow_avec_bundled_properties.cpp:95:50: note: ‘boost::detail::adj_list_any_edge_pmap::bind_<boost::adjacency_list<boost::listS, boost::vecS, boost::directedS, node_t, edge_t>, edge_t, double edge_t::*>::type {aka boost::adj_list_edge_property_map<boost::directed_tag, double, double&, long unsigned int, edge_t, double edge_t::*>}’ is not derived from ‘const boost::bgl_named_params<T, Tag, Base>’
- find_flow_cost(g,capacity,residual_capacity,cost);
- ^
- In file included from ../max_flow_avec_bundled_properties.cpp:15:0:
- /home/maelv/cpp/boost_1_58_0/include/boost/graph/find_flow_cost.hpp:43:1: note: candidate: template<class Graph> typename boost::property_traits<typename boost::property_map<Graph, boost::edge_capacity_t>::type>::value_type boost::find_flow_cost(const Graph&)
- find_flow_cost(const Graph &g) {
- ^
- /home/maelv/cpp/boost_1_58_0/include/boost/graph/find_flow_cost.hpp:43:1: note: template argument deduction/substitution failed:
- ../max_flow_avec_bundled_properties.cpp:95:50: note: candidate expects 1 argument, 4 provided
- find_flow_cost(g,capacity,residual_capacity,cost);
- ^
- ../max_flow_avec_bundled_properties.cpp:83:13: warning: unused variable ‘flow_cost’ [-Wunused-variable]
- long flow, flow_cost;
- ^
- make: *** [max_flow_avec_bundled_properties.o] Error 1
- 10:48:57 Build Finished (took 3s.628ms)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement