Skip to content

"ttf" feature fails to build with "bundled" on macOS #1327

@adamsoutar

Description

@adamsoutar

Hi there - thanks so much for your work on this lib!

I've hit an issue I couldn't find in the existing list. I'm depending on sdl2 with bundled from HEAD due to #1302 , and that works until I add ttf as a feature. After that, the build fails like so:

  = note: ld: warning: directory not found for option '-L/Users/adam/Projects/velocity/velocity-sdl/target/release/build/sdl2-sys-f4d4c043108ea068/out/lib64'
          ld: library not found for -lSDL2_ttf
          clang: error: linker command failed with exit code 1 (use -v to see invocation)

This is macOS 13.4.1 on M2 (maybe an issue with compiling on Apple Silicon?). Just wondering if anyone else has seen/worked around this?

Thanks!

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