daviddoria/BGLExamples — Issue #3: GridGraphVertexIterator: Compilation errors with boost 1.42
Author: arnaudgelas
Created: 2012-01-31 18:45:49+00:00
State: open

[ 55%] Building CXX object grid_graph/VertexIterator/CMakeFiles/GridGraphVertexIterator.dir/GridGraphVertexIterator.cpp.o
In file included from /usr/include/boost/graph/grid_graph.hpp:24:0,
from /home/ajg23/GITROOT/BGLExamples/grid_graph/VertexIterator/GridGraphVertexIterator.cpp:3:
/usr/include/boost/iterator/transform_iterator.hpp: In constructor ‘boost::transform_iterator::transform_iterator() [with UnaryFunc = boost::detail::grid_graph_vertex_at >, Iterator = boost::counting_iterator, Reference = boost::use_default, Value = boost::use_default]’:
/home/ajg23/GITROOT/BGLExamples/grid_graph/VertexIterator/GridGraphVertexIterator.cpp:15:14: instantiated from here
/usr/include/boost/iterator/transform_iterator.hpp:100:26: error: no matching function for call to ‘boost::detail::grid_graph_vertex_at >::grid_graph_vertex_at()’
/usr/include/boost/iterator/transform_iterator.hpp:100:26: note: candidates are:
/usr/include/boost/graph/grid_graph.hpp:104:7: note: boost::detail::grid_graph_vertex_at::grid_graph_vertex_at(const Graph*) [with Graph = boost::grid_graph<2ul>]
/usr/include/boost/graph/grid_graph.hpp:104:7: note: candidate expects 1 argument, 0 provided
/usr/include/boost/graph/grid_graph.hpp:100:12: note: boost::detail::grid_graph_vertex_at >::grid_graph_vertex_at(const boost::detail::grid_graph_vertex_at >&)
/usr/include/boost/graph/grid_graph.hpp:100:12: note: candidate expects 1 argument, 0 provided
make[2]: *** [grid_graph/VertexIterator/CMakeFiles/GridGraphVertexIterator.dir/GridGraphVertexIterator.cpp.o] Error 1
make[1]: *** [grid_graph/VertexIterator/CMakeFiles/GridGraphVertexIterator.dir/all] Error 2