Skip to content

Build error, protobuf #3216

@MarkVeerasingam

Description

@MarkVeerasingam

Hi folks - i wanted to flag a bug in the build process for ONNX-MLIR.

When building ONNX-MLIR for my local windows machine using wsl following the docs: https://github.com/onnx/onnx-mlir/blob/main/docs/BuildOnLinuxOSX.md

When building on 2 separate occasions, it failed at protobuf, where port.h was missing a dependency

Adding this dependency #include <cstdint> into port.h fixed the build, and let cmake resume as usual.

Not sure if this is exclusive to my machine, but wanted to flag it just in case anyone else encounters it.

System specs:
WSL2 Ubuntu 24.04.2
llvm checlout: 2c440232e261746970cdf6f74d6588464eecd48b

Image Image

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