From b38a02b101240d0bc9bc758afde643231fb2f9f1 Mon Sep 17 00:00:00 2001 From: hangx-ma Date: Fri, 12 Jan 2024 17:41:26 +0800 Subject: [PATCH] docs: update README --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f94a81b..2604538 100644 --- a/README.md +++ b/README.md @@ -74,8 +74,10 @@ You can use arrow key ↑ to jump, ↓ to bend over. → will be used t ```bash sudo apt-get update - sudo apt-get install mingw-w64-x86-64-dev - sudo apt-get install mingw-w64-tools + # optional + # sudo apt-get install mingw-w64-x86-64-dev + # sudo apt-get install mingw-w64-tools + sudo apt-get install g++-mingw-w64-x86-64-posix ``` - Download [SDL2-devel-2.28.5-mingw.tar.gz](https://github.com/libsdl-org/SDL/releases/tag/release-2.28.5) to your **HOME** and compile it. If `make cross` fails, you need to change `CROSS_PATH` in `Makefile` to `/usr`