Instructions specify installing sdl with homebrew, but I had to install sdl2 in order for it to build. Here is the error from the build process. It was remedied once I installed sdl2.
thread 'main' panicked at 'calledResult::unwrap()on anErrvalue: "\"pkg-config\" \"--libs\" \"--cflags\" \"sdl2\"did not exit successfully: exit code: 1\n--- stderr\nPackage sdl2 was not found in the pkg-config search path.\nPerhaps you should add the directory containingsdl2.pc\'\nto the PKG_CONFIG_PATH environment variable\nNo package \'sdl2\' found\n"', src/libcore/result.rs:997:5
note: Run with RUST_BACKTRACE=1 environment variable to display a backtrace.`
Instructions specify installing sdl with homebrew, but I had to install sdl2 in order for it to build. Here is the error from the build process. It was remedied once I installed sdl2.
thread 'main' panicked at 'called
Result::unwrap()on an
Errvalue: "
\"pkg-config\" \"--libs\" \"--cflags\" \"sdl2\"did not exit successfully: exit code: 1\n--- stderr\nPackage sdl2 was not found in the pkg-config search path.\nPerhaps you should add the directory containing
sdl2.pc\'\nto the PKG_CONFIG_PATH environment variable\nNo package \'sdl2\' found\n"', src/libcore/result.rs:997:5 note: Run withRUST_BACKTRACE=1
environment variable to display a backtrace.`