Skip to content

Building on macOS throws error: "symbol(s) not found for architecture arm64" #156

@xanderseren

Description

@xanderseren

I am unable to get the most recent Rive Unreal plugin working on Mac (it works fine on Windows).

Rive Unreal Plugin: 0.3.3a-gh
Unreal Engine: 5.5.4
macOS Sequoia 15.1 with M1 processor

I first simply tried following the instructions here. When clicking yes to rebuild missing modules on the "Missing Rive Modules" pop up I get an error that says "[project name] could not be compiled. Try rebuilding from source manually".

I tried to make my Unreal project a C++ project and build from source as the pop up suggests. My project project builds fine from XCode without the Rive plugin. But attempting to build with the plugin enabled throws the following error:

Undefined symbols for architecture arm64:
  "Bitmap::RecognizeImageFormat(unsigned char const*, unsigned long)", referenced from:
      RenderContextRHIImpl::platformDecodeImageTexture(rive::Span<unsigned char const>) in RenderContextRHIImpl.cpp.o
ld: symbol(s) not found for architecture arm64
clang++: error: linker command failed with exit code 1 (use -v to see invocation)```

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions