12 Dec 02:39
graph-tool and boost 1.48 (mac os)
Claudio Martella <claudio.martella <at> gmail.com>
2011-12-12 01:39:51 GMT
2011-12-12 01:39:51 GMT
Hi, I'm trying to build according to the linked homebrew Formula (but i also tried downloading the source and building straight ahead). I have llvm gcc 4.2 (mac os x standard) and boost 1.48. I get the following error pretty straight ahead at compile time (for graph_betweenness): /usr/local/include/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]' ./../fast_vector_property_map.hh:170: note: candidates are: typename std::iterator_traits<typename std::vector<T, std::allocator<_CharT> >::iterator>::reference boost::unchecked_vector_property_map<T, IndexMap>::operator[](const typename boost::property_traits<IndexMap>::key_type&) const [with T = double, IndexMap = 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,(Continue reading)
RSS Feed