Skip to content

Commit

Permalink
docs: specify ffmpeg version and add note on libclang-*
Browse files Browse the repository at this point in the history
  • Loading branch information
LiteHell committed May 21, 2024
1 parent c2f8bbb commit fd64d92
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@
## How to build?
### Linux
1. Install rust
1. Install ffmpeg, sdl2, sdl2_mixer, sdl2_image, sdl2_ttf.
1. Install ffmpeg 7.*, sdl2, sdl2_mixer, sdl2_image, sdl2_ttf.
- For instructions on sdl2 installation, see [rust-sdl2 README](https://github.com/Rust-SDL2/rust-sdl2).
- You may have to install libclang on some platforms (e.g. Raspberry Pi)
1. Run `cargo build`
1. When running the game, `assets` directory and `music` directory should be in the working directory.

### Mac OS
1. Install rust
1. Install ffmpeg, sdl2, sdl2_mixer, sdl2_image, sdl2_ttf.
1. Install ffmpeg 7.*, sdl2, sdl2_mixer, sdl2_image, sdl2_ttf.
- For instructions on sdl2 installation, see [rust-sdl2 README](https://github.com/Rust-SDL2/rust-sdl2).
1. Type `export LIBRARY_PATH="$LIBRARY_PATH:$(brew --prefix)/lib"` to your terminal.
1. Run `cargo build`
Expand Down

0 comments on commit fd64d92

Please sign in to comment.