rive-app / rive-cpp

C++ runtime for Rive
MIT License
278 stars 42 forks source link

Compiling error in macOS #354

Open thehyperevilcorp opened 1 year ago

thehyperevilcorp commented 1 year ago

Build command: ./build_viewer.sh metal tess run

... Linking rive_viewer Undefined symbols for architecture arm64: "HBFont::gFallbackProc", referenced from: TextContent::TextContent() in text_content.o "HBFont::Decode(rive::Span)", referenced from: ViewerContent::DecodeFont(rive::Span) in viewer_content.o "HBFont::hasGlyph(rive::Span)", referenced from: pickFallbackFont(rive::Span) in text_content.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: [macosx/bin/debug/tess/metal/rive_viewer] Error 1 make: [rive_viewer] Error 2

luigi-rosso commented 1 year ago

Could you try the latest master with a clean build?

./build_viewer.sh metal tess run clean