diff --git a/Windows.md b/Windows.md index 16a984b..6de1e6b 100644 --- a/Windows.md +++ b/Windows.md @@ -2,7 +2,9 @@ See [[installation]]. Compilation requires a C compiler like GCC to compile third party libraries used by Ebiten. You would need C compiler like [MinGW](http://www.mingw.org/) or [TDM GCC](http://tdm-gcc.tdragon.net/download) on Windows. TDM GCC is much easier than others so far. -# Install Git +# How to install + +## Install Git You can get [the official installer](https://git-scm.com/download/win). Git is required before `go get`. @@ -13,20 +15,29 @@ Add the below values to `PATH` environment variable: You also can get Git via [Scoop](http://scoop.sh/). -# Install C compiler +## Install C compiler A C compiler is also required before `go get`. There are some options. -## Option 1. MinGW +### Option 1. MinGW Get the installer from [MinGW](http://www.mingw.org/) and install it, then set `PATH` environment variable. You also can get MinGW via [Scoop](http://scoop.sh/). -## Option 2. TDM GCC (recommended) +### Option 2. TDM GCC (recommended) Get the installer from [TDM GCC](http://tdm-gcc.tdragon.net/download) and install it. `PATH` will be set by the install so you don't have to care. +## Run examples + +To check installation finished correctly, let's execute an example. + +``` +cd %GOPATH%\src\github.com\hajimehoshi\ebiten\examples +go run -tags=example rotate\main.go +``` + # Cross Compiling It is possible to cross-compile Ebiten games for windows, see: [[Cross Compiling]] \ No newline at end of file