Skip to content

Build error on Windows #477

@StephenSmith25

Description

@StephenSmith25

I'm trying to build on windows but I'm encountering an issue while generating the bindings:

..\bindings\cpp\NeXusFile.cpp(1243): error C2131: expression did not evaluate to a constant

I'm currently building with MSVC 2019. Is there a way around this issue? Variable length arrays have never been supported by MSVC (as they are not strictly part of the c++ standard). I'm currently trying to create a windows conda package for nexus, so locally changing the source isn't an option - I suppose I could create a patch. Just wondering if this is a known issue? Or if I'm doing something wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions