Skip to content

Problem Compiling the project on Ubuntu 17 #6

@Abddo9

Description

@Abddo9

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions