Skip to content

Build fails on MinGW under WSL1 #44

@Qix-

Description

@Qix-
../ext/kaitai_rt/kaitai/kaitaistream.cpp:21:10: fatal error: endian.h: No such file or directory
   21 | #include <endian.h>

It appears this has been an issue on MacOS before. Is Windows even supported?

Compiling with Mingw W64 under WSL1.

Going to try using https://github.com/mikepb/endian.h/blob/master/endian.h to see if this "fixes" it but it'd be nice if there was explicit support for Windows.

EDIT: Yes, but then there's a missing byteswap.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