Skip to content

protobuf 25.2 broken for cross compiles #1856

Open
@julianneswinoga

Description

A simple

project('my_project', 'cpp')

protoc = subproject('protobuf').get_variable('protoc')

while cross compiling, gives the error:

subprojects/protobuf-25.2/src/meson.build:29:18: ERROR: Tried to tied to mix a host machine library ("absl_base") with a build machine target "protoc-native" This is not possible in a cross build.

Full repository: julianneswinoga/meson_protobuf_bug
Full logs: meson-log.txt

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