Skip to content

spyral-utils@dev: Code doesn't run on Windows [solution] #21

@danielaramirez415

Description

@danielaramirez415

Once you have the compiler setup on the windows computer, there is an issue with std::set::iterator. This is fixed by replacing in the file:
src/spyral_utils/tripclust/src/postprocess.cpp

on line 64:
for (std::set<long unsigned int>::iterator iterator = ids.begin(); iterator != ids.end(); ++iterator)
to:
for (auto iterator = ids.begin(); iterator != ids.end(); ++iterator)

after this change, spyral-utils and attpc_spyral dev runs smoothly.

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