Skip to content

Building on macos apple silicon fails to find libSDL2 #223

Open
@mkmik

Description

@mkmik

I cannot build endbasic with the sdl feature on my macos M1:

$ brew install sdl2 sdl2_ttf
$ cargo install --features=sdl endbasic
....
  = note: ld: library not found for -lSDL2
          clang: error: linker command failed with exit code 1 (use -v to see invocation)

Perhaps this is due to the different location that brew choose to install things on arm: /opt/homebrew instead of /usr/local

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