Running the demos on macOS fails, when sdl2 is missing #35

Closed
opened 2020-11-16 13:51:33 +00:00 by rwbr · 2 comments
rwbr commented 2020-11-16 13:51:33 +00:00 (Migrated from github.com)

I'm on macOS Big Sur 11.0.1. When I try to run one of the demos I get the following error message:

...

"-framework" "Security" "-lSDL2" "-lSystem" "-lresolv" "-lc" "-lm"
  = note: ld: library not found for -lSDL2
          clang: error: linker command failed with exit code 1 (use -v to see invocation)
          

error: aborting due to previous error

error: could not compile `demo`.

To learn more, run the command again with --verbose.

To make the samples work I manually have to install sdl2 first by issuing the following command:

brew install sdl2

After that, the samples work on macOS too. Please update the README accordingly. Thank's.

I'm on macOS Big Sur 11.0.1. When I try to run one of the demos I get the following error message: ``` ... "-framework" "Security" "-lSDL2" "-lSystem" "-lresolv" "-lc" "-lm" = note: ld: library not found for -lSDL2 clang: error: linker command failed with exit code 1 (use -v to see invocation) error: aborting due to previous error error: could not compile `demo`. To learn more, run the command again with --verbose. ``` To make the samples work I manually have to install sdl2 first by issuing the following command: `brew install sdl2` After that, the samples work on macOS too. Please update the README accordingly. Thank's.
rafaelcaricio commented 2020-11-16 14:06:57 +00:00 (Migrated from github.com)

@rwbr Thank you for the suggestion. Do you want to open a PR for this? I would be happy to accept it. If not, that is fine as well. I will update when I get some time.

@rwbr Thank you for the suggestion. Do you want to open a PR for this? I would be happy to accept it. If not, that is fine as well. I will update when I get some time.
rwbr commented 2020-11-16 17:08:59 +00:00 (Migrated from github.com)

Sure! I will update the documentation and open a PR when done.

Sure! I will update the documentation and open a PR when done.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: rafaelcaricio/lvgl-rs#35
No description provided.