add Windows build instructions with MSYS2 + MinGW

This commit is contained in:
Georgi Gerganov
2021-01-03 11:52:34 -08:00
parent 82ff5320de
commit a04d390949
4 changed files with 64 additions and 19 deletions

View File

@@ -71,7 +71,18 @@ Other projects using **ggwave** or one of its prototypes:
## Building
### Linux and Mac:
### Dependencies for SDL-based examples
[Ubuntu]
$ sudo apt install libsdl2-dev
[Mac OS with brew]
$ brew install sdl2
[MSYS2]
$ pacman -S git cmake make mingw-w64-x86_64-dlfcn mingw-w64-x86_64-gcc mingw-w64-x86_64-SDL2
### Linux, Mac, Windows (MSYS2):
```bash
# build