Open deepch opened 7 years ago
static-ip-171-25:ui$ GOOS=windows GOARCH=386 go build *.go
src/github.com/oskca/sciter/types_string.go:27: undefined: BehaviorEvent src/github.com/oskca/sciter/types_string.go:62: undefined: MouseEvent src/github.com/oskca/sciter/types_string.go:78: undefined: CursorType src/github.com/oskca/sciter/types_string.go:89: undefined: KeyEvent src/github.com/oskca/sciter/types_string.go:100: undefined: FocusEvent src/github.com/oskca/sciter/types_string.go:111: undefined: ScrollEvent src/github.com/oskca/sciter/types_string.go:122: undefined: GestureCmd src/github.com/oskca/sciter/types_string.go:139: undefined: GestureState src/github.com/oskca/sciter/types_string.go:171: undefined: GestureTypeFlag src/github.com/oskca/sciter/types_string.go:197: undefined: DrawEvent src/github.com/oskca/sciter/types_string.go:197: too many errors static-ip-171-25:ui$
Seeing the same issue trying to cross-compile from ubuntu
You guys need to use different compiler. For example install ming and try this:
CC=i686-w64-mingw32-gcc GOOS=windows GOARCH=386 go build *.go
static-ip-171-25:ui$ GOOS=windows GOARCH=386 go build *.go
github.com/oskca/sciter
src/github.com/oskca/sciter/types_string.go:27: undefined: BehaviorEvent src/github.com/oskca/sciter/types_string.go:62: undefined: MouseEvent src/github.com/oskca/sciter/types_string.go:78: undefined: CursorType src/github.com/oskca/sciter/types_string.go:89: undefined: KeyEvent src/github.com/oskca/sciter/types_string.go:100: undefined: FocusEvent src/github.com/oskca/sciter/types_string.go:111: undefined: ScrollEvent src/github.com/oskca/sciter/types_string.go:122: undefined: GestureCmd src/github.com/oskca/sciter/types_string.go:139: undefined: GestureState src/github.com/oskca/sciter/types_string.go:171: undefined: GestureTypeFlag src/github.com/oskca/sciter/types_string.go:197: undefined: DrawEvent src/github.com/oskca/sciter/types_string.go:197: too many errors static-ip-171-25:ui$