Closed suhanyujie closed 4 years ago
你好~ 在 OSX 系统中,按照 readme 所说,先 clone 再 cargo run --release,过程中报错了:
cargo run --release
note: ld: library not found for -lSDL2_image
通过 brew install sdl2 sdl2_image 安装依赖库后,并将路径写入环境变量:
brew install sdl2 sdl2_image
# vi ~/.bash_profile export LIBRARY_PATH="/usr/local/lib" source ~/.bash_profile
即可 cargo run --release 成功
好的多谢补充。
你好~ 在 OSX 系统中,按照 readme 所说,先 clone 再
cargo run --release
,过程中报错了: