[Boost Graph Dijkstra Shortest Path]: Could not deduce template argument
I use boost graph library for some point cloud processing and have had great success. However, I’m struggling to compile Dijkstra shorted path on MSVC v140. I am using boost library 1.53 and compiling in 64 bit.
I used the example as a starting point but when I try to compile I get the error:
Error C2784 'E boost::detail::get(boost::detail::underlying_edge_desc_map_type<E>,const boost::detail::reverse_graph_edge_descriptor<EdgeDesc> &)': could not deduce template argument for 'boost::detail::underlying_edge_desc_map_type<E>'
from 'double *'
I understand the fundamental problem that the template can’t deduce type, however I’m struggling to source the problem.