robotgo
robotgo copied to clipboard
github.com\go-vgo\[email protected]\img.go:92:40: undefined: Bitmap
github.com/go-vgo/robotgo
C:\Users\Don\go\pkg\mod\github.com\go-vgo\[email protected]\img.go:92:40: undefined: Bitmap C:\Users\Don\go\pkg\mod\github.com\go-vgo\[email protected]\img.go:107:38: undefined: Bitmap C:\Users\Don\go\pkg\mod\github.com\go-vgo\[email protected]\img.go:137:20: undefined: Bitmap C:\Users\Don\go\pkg\mod\github.com\go-vgo\[email protected]\screen.go:26:28: undefined: Rect C:\Users\Don\go\pkg\mod\github.com\go-vgo\[email protected]\robotgo_fn_v1.go:9:2: undefined: Move C:\Users\Don\go\pkg\mod\github.com\go-vgo\[email protected]\robotgo_fn_v1.go:17:2: undefined: Toggle C:\Users\Don\go\pkg\mod\github.com\go-vgo\[email protected]\robotgo_fn_v1.go:18:2: undefined: MilliSleep C:\Users\Don\go\pkg\mod\github.com\go-vgo\[email protected]\robotgo_fn_v1.go:20:2: undefined: MoveSmooth C:\Users\Don\go\pkg\mod\github.com\go-vgo\[email protected]\robotgo_fn_v1.go:21:2: undefined: Toggle C:\Users\Don\go\pkg\mod\github.com\go-vgo\[email protected]\robotgo_fn_v1.go:29:9: undefined: MoveSmooth C:\Users\Don\go\pkg\mod\github.com\go-vgo\[email protected]\robotgo_fn_v1.go:29:9: too many errors
Having the same error here
same issue with v1.0.0.rc1 windows
..\..\go\pkg\mod\github.com\go-vgo\[email protected]\img.go:92:40: undefined: Bitmap
..\..\go\pkg\mod\github.com\go-vgo\[email protected]\img.go:107:38: undefined: Bitmap
..\..\go\pkg\mod\github.com\go-vgo\[email protected]\img.go:137:20: undefined: Bitmap
..\..\go\pkg\mod\github.com\go-vgo\[email protected]\screen.go:26:28: undefined: Rect
..\..\go\pkg\mod\github.com\go-vgo\[email protected]\robotgo_fn_v1.go:9:2: undefined: Move
..\..\go\pkg\mod\github.com\go-vgo\[email protected]\robotgo_fn_v1.go:17:2: undefined: Toggle
..\..\go\pkg\mod\github.com\go-vgo\[email protected]\robotgo_fn_v1.go:18:2: undefined: MilliSleep
..\..\go\pkg\mod\github.com\go-vgo\[email protected]\robotgo_fn_v1.go:20:2: undefined: MoveSmooth
..\..\go\pkg\mod\github.com\go-vgo\[email protected]\robotgo_fn_v1.go:21:2: undefined: Toggle
..\..\go\pkg\mod\github.com\go-vgo\[email protected]\robotgo_fn_v1.go:29:9: undefined: MoveSmooth
..\..\go\pkg\mod\github.com\go-vgo\[email protected]\robotgo_fn_v1.go:29:9: too many errors
robotgo.MoveSmooth(200, 65) robotgo.MilliSleep(100)
not working
same issue build windows exe on mac os
# github.com/go-vgo/robotgo ../pkg/mod/github.com/go-vgo/[email protected]/hook.go:30:24: undefined: hook.Event ../pkg/mod/github.com/go-vgo/[email protected]/hook.go:31:9: undefined: hook.Start ../pkg/mod/github.com/go-vgo/[email protected]/hook.go:36:2: undefined: hook.End ../pkg/mod/github.com/go-vgo/[email protected]/hook.go:43:19: undefined: hook.Event ../pkg/mod/github.com/go-vgo/[email protected]/hook.go:44:9: undefined: hook.Start ../pkg/mod/github.com/go-vgo/[email protected]/hook.go:60:31: undefined: hook.Event ../pkg/mod/github.com/go-vgo/[email protected]/hook.go:65:64: undefined: hook.Event ../pkg/mod/github.com/go-vgo/[email protected]/img.go:92:40: undefined: Bitmap ../pkg/mod/github.com/go-vgo/[email protected]/img.go:107:38: undefined: Bitmap ../pkg/mod/github.com/go-vgo/[email protected]/img.go:137:20: undefined: Bitmap ../pkg/mod/github.com/go-vgo/[email protected]/hook.go:44:9: too many errors
Just try this https://github.com/go-vgo/robotgo/issues/552#issuecomment-1664935423 Or https://github.com/go-vgo/robotgo/issues/582#issuecomment-1670531679