Skip to content

undefined symbols on arm64 #371

@benediktadams

Description

@benediktadams

Hi,

I'm trying to link to the rive-cpp library and I'm linking against the following libraries, which I could find after building through the provided build script at rive-cpp/build.sh

librive
librive_harfbuzz
librive_yoga
librive_sheenbidi

Linker on my project finds all these just fine, but then I get:

Undefined symbols for architecture arm64:
  "typeinfo for rive::ContainerComponent", referenced from:
      typeinfo for rive::WorldTransformComponentBase in libMy Project.a[36](include_my_rive_wrapper.o)
  "typeinfo for rive::Component", referenced from:
      typeinfo for rive::ContainerComponentBase in libMy Project.a[36](include_my_rive_wrapper.o)

Am I doing something wrong? Maybe it's worth mentioning I'm also linking against JUCE, which also has a Component class? But it doesn't seem like this is the issue, since I'm not getting duplicates.

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