Just want to point out when you have not installed Xcode, you will get a error with the default rust toolchain.
= note: ld: library not found for -lSDL2
clang: error: linker command failed with exit code 1 (use -v to see invocation)
The solution is to add through brew: brew install sdl2
This allows us to complete the rust build and view the emulator examples by executing cargo run --example hello-world
Hope it helped someone on macOS 👍 (Validated on macOS Monterey)
Thanks for noting this. The instructions are mentioned in the simulator's README but it would help to add a link to that section to the readme in this repo. I'll add that when I get a spare minute.
Just want to point out when you have not installed Xcode, you will get a error with the default rust toolchain.
The solution is to add through brew:
brew install sdl2
This allows us to complete the rust build and view the emulator examples by executingcargo run --example hello-world
Hope it helped someone on macOS 👍 (Validated on macOS Monterey)