Skip to content

infomap '1.2.0' python pip package installation fails in Windows 10: needs #include <algorithm> line #150

@ati-ozgur

Description

@ati-ozgur

pip install infomap

command in windows fails with "Error C2039: 'max' : is not a member of 'std'" error.
Please make the following 1 line change

diff --git a/src/io/ClusterReader.cpp b/src/io/ClusterReader.cpp
index 85e49af..8882134 100644
--- a/src/io/ClusterReader.cpp
+++ b/src/io/ClusterReader.cpp
@@ -24,6 +24,7 @@

**********************************************************************************/

+#include

#include "ClusterReader.h"
#include "../utils/Log.h"

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