-
Notifications
You must be signed in to change notification settings - Fork 59
Description
I have cloned the project and try to compile it using the make command however, the compilation fail with many errors (errors below).
I am using Ubuntu 17, with g++ version 7.2.0
Errors:
/GridGraph-master/core/graph.hpp:147:25: error: ‘std::function’ has not been declared
T stream_vertices(std::function<T(VertexId)> process, Bitmap * bitmap = nullptr, T zero = 0,
/GridGraph-master/core/graph.hpp:147:33: error: expected ‘,’ or ‘...’ before ‘<’ token
T stream_vertices(std::function<T(VertexId)> process, Bitmap * bitmap = nullptr, T zero = 0,
/GridGraph-master/core/graph.hpp:242:22: error: ‘std::function’ has not been declared
T stream_edges(std::function<T(Edge&)> process, Bitmap * bitmap = nullptr, T zero = 0, int update_mode = 1,
/core/graph.hpp:150:13: error: ‘zero’ was not declared in this scope
T value = zero;
/core/graph.hpp:151:7: error: ‘bitmap’ was not declared in this scope
if (bitmap==nullptr && vertex_data_bytes > (0.8 * memory_bytes)) {
and many others