Skip to content

Commit

Permalink
Documentation for Windows dependencies (#7)
Browse files Browse the repository at this point in the history
* Add auto line endings to gitattributes

* Update readme for windows dependencies
  • Loading branch information
Trevor Kropp authored Mar 22, 2020
1 parent 8aec3a2 commit fedc49e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,21 @@
Greg and Tyler's editor

### Dependencies:
#### Linux:
```
sudo apt install libsdl2-ttf-dev libsdl2-image-dev libsdl2-gfx-dev
```
```

#### Windows:

Install gcc for C Go using msys2.

After installing msys2, start the msys2 shell (not MinGW) and run
```
pacman -Syu
```
and then
```
pacman -S mingw-w64-x86_64-SDL2 mingw-w64-x86_64-SDL2_gfx mingw-w64-x86_64-SDL2_image mingw-w64-x86_64-SDL2_ttf mingw-w64-x86_64-gcc
```
After everything is finished, add the mingw bin to your PATH, e.g., C:\msys64\mingw64\bin.

0 comments on commit fedc49e

Please sign in to comment.