From 819cc823c7a488b7721f1343da5b0ecafda4a1ac Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Mon, 15 Oct 2018 01:35:27 +0900 Subject: [PATCH] Updated Windows (markdown) --- Windows.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Windows.md b/Windows.md index 18d0b22..e052aef 100644 --- a/Windows.md +++ b/Windows.md @@ -76,9 +76,11 @@ go mod init example.com/m # 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 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: ```sh