Re: [graph-tool] Graph-tool make error
I'm trying to compile graph-tool on CentOS 5.4 with boost 1.49.0, and I'm getting two errors
Just thought I'd upload the full output of make, although it looks scary: www.ebi.ac.uk/~spivakov/makelog_graph_tool.txt Would very much appreciate if you could look into this. Many thanks! Mikhail On Thu, Apr 5, 2012 at 12:37 PM, Mikhail Spivakov <spivakov@ebi.ac.uk> wrote:
Hello!
I'm trying to compile graph-tool on CentOS 5.4 with boost 1.49.0, and I'm getting the following two errors:
boost/property_map/property_map.hpp:354: error: no match for 'operator[]' in '(const boost::unchecked_vector_property_map<long double, boost::adj_list_edge_property_map<boost::bidirectional_tag, long unsigned int, long unsigned int&, long unsigned int, boost::property<boost::edge_index_t, long unsigned int, boost::no_property>, boost::edge_index_t> >&)((const boost::unchecked_vector_property_map<long double, boost::adj_list_edge_property_map<boost::bidirectional_tag, long unsigned int, long unsigned int&, long unsigned int, boost::property<boost::edge_index_t, long unsigned int, boost::no_property>, boost::edge_index_t> >*)(& pa))[k]'
/homes/spivakov/n/boost_1_49_0/boost/property_map/property_map.hpp:361: error: no match for 'operator[]' in '(const boost::unchecked_vector_property_map<double, boost::adj_list_edge_property_map<boost::bidirectional_tag, long unsigned int, long unsigned int&, long unsigned int, boost::property<boost::edge_index_t, long unsigned int, boost::no_property>, boost::edge_index_t> >&)((const boost::unchecked_vector_property_map<double, boost::adj_list_edge_property_map<boost::bidirectional_tag, long unsigned int, long unsigned int&, long unsigned int, boost::property<boost::edge_index_t, long unsigned int, boost::no_property>, boost::edge_index_t> >*)(& pa))[k]'
As I understand, it's related to a problem with boost library itself (http://www.digipedia.pl/usenet/thread/14158/17481/#post17481), but I'm wondering if there is any workaround.
Many thanks, Mikhail
Update: I've now downgraded to 1.46.1, with which this error did not occur. I've logged a ticket (#99) on the graph-tool website - perhaps even if it's not worth the effort fixing this error, it'd be good to warn users about it. On Thu, Apr 5, 2012 at 6:55 PM, Mikhail Spivakov <spivakov@ebi.ac.uk> wrote:
I'm trying to compile graph-tool on CentOS 5.4 with boost 1.49.0, and I'm getting two errors
Just thought I'd upload the full output of make, although it looks scary: www.ebi.ac.uk/~spivakov/makelog_graph_tool.txt
Would very much appreciate if you could look into this.
Many thanks! Mikhail
On Thu, Apr 5, 2012 at 12:37 PM, Mikhail Spivakov <spivakov@ebi.ac.uk> wrote:
Hello!
I'm trying to compile graph-tool on CentOS 5.4 with boost 1.49.0, and I'm getting the following two errors:
boost/property_map/property_map.hpp:354: error: no match for 'operator[]' in '(const boost::unchecked_vector_property_map<long double, boost::adj_list_edge_property_map<boost::bidirectional_tag, long unsigned int, long unsigned int&, long unsigned int, boost::property<boost::edge_index_t, long unsigned int, boost::no_property>, boost::edge_index_t> >&)((const boost::unchecked_vector_property_map<long double, boost::adj_list_edge_property_map<boost::bidirectional_tag, long unsigned int, long unsigned int&, long unsigned int, boost::property<boost::edge_index_t, long unsigned int, boost::no_property>, boost::edge_index_t> >*)(& pa))[k]'
/homes/spivakov/n/boost_1_49_0/boost/property_map/property_map.hpp:361: error: no match for 'operator[]' in '(const boost::unchecked_vector_property_map<double, boost::adj_list_edge_property_map<boost::bidirectional_tag, long unsigned int, long unsigned int&, long unsigned int, boost::property<boost::edge_index_t, long unsigned int, boost::no_property>, boost::edge_index_t> >&)((const boost::unchecked_vector_property_map<double, boost::adj_list_edge_property_map<boost::bidirectional_tag, long unsigned int, long unsigned int&, long unsigned int, boost::property<boost::edge_index_t, long unsigned int, boost::no_property>, boost::edge_index_t> >*)(& pa))[k]'
As I understand, it's related to a problem with boost library itself (http://www.digipedia.pl/usenet/thread/14158/17481/#post17481), but I'm wondering if there is any workaround.
Many thanks, Mikhail
Hi, On 04/05/2012 10:20 PM, Mikhail Spivakov wrote:
Update: I've now downgraded to 1.46.1, with which this error did not occur. I've logged a ticket (#99) on the graph-tool website - perhaps even if it's not worth the effort fixing this error, it'd be good to warn users about it.
This should be fixed now in the git version. Cheers, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>
participants (2)
-
Mikhail Spivakov -
Tiago de Paula Peixoto