mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-02-27 02:05:35 +01:00
Updated Windows (markdown)
parent
2b17fac46d
commit
819cc823c7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user