Updated Windows (markdown)

Hajime Hoshi 2018-10-15 01:35:27 +09:00
parent 2b17fac46d
commit 819cc823c7

@ -76,9 +76,11 @@ go mod init example.com/m
# When cross-compiling, cgo is disabled by default. # When cross-compiling, cgo is disabled by default.
CC=x86_64-w64-mingw32-gcc CGO_ENABLED=1 GOOS=windows go get github.com/hajimehoshi/ebiten@master CC=x86_64-w64-mingw32-gcc CGO_ENABLED=1 GOOS=windows go get github.com/hajimehoshi/ebiten@master
CC=x86_64-w64-mingw32-gcc CGO_ENABLED=1 GOOS=windows go run -tags=example github.com/hajimehoshi/ebiten/examples/rotate CC=x86_64-w64-mingw32-gcc CGO_ENABLED=1 GOOS=windows go build -tags=example github.com/hajimehoshi/ebiten/examples/rotate
``` ```
Then copy `rotate.exe` to somewhere and open this from Windows.
If you don't, let's go-get: If you don't, let's go-get:
```sh ```sh