go-vgo/robotgo

undefined: Bitmap

dpengchen opened this issue · 1 comments

  1. Please speak English (English only), this is the language everybody of us can speak and write.
  2. Please take a moment to search that an issue doesn't already exist.
  3. Please make sure Golang, GCC is installed correctly before installing RobotGo.
  1. Please give all relevant information below for bug reports, incomplete details will be handled as an invalid report.

You MUST delete the content above including this line before posting, otherwise your issue will be invalid.

  • Robotgo version (or commit ref):
  • Go version: 1.22.1
  • Gcc version: 13.2.0
  • Operating system and bit: 64
  • Resolution:
  • Can you reproduce the bug at Examples:
    • [√] Yes (provide example code)
    • No
    • Not relevant
  • Provide example code:
func TestRobot(t *testing.T) {
	robotgo.KeyDown(robotgo.Cmd, robotgo.KeyD)
	x, y := robotgo.Location()
	log.Println(x, y)
}
  • Log gist:

Description

github.com/go-vgo/robotgo

C:\Users\12194\go\pkg\mod\github.com\go-vgo\robotgo@v0.110.0\img.go:92:40: undefined: Bitmap
C:\Users\12194\go\pkg\mod\github.com\go-vgo\robotgo@v0.110.0\img.go:107:38: undefined: Bitmap
C:\Users\12194\go\pkg\mod\github.com\go-vgo\robotgo@v0.110.0\img.go:137:20: undefined: Bitmap
C:\Users\12194\go\pkg\mod\github.com\go-vgo\robotgo@v0.110.0\screen.go:26:28: undefined: Rect
C:\Users\12194\go\pkg\mod\github.com\go-vgo\robotgo@v0.110.0\robotgo_fn_v1.go:9:2: undefined: Move
C:\Users\12194\go\pkg\mod\github.com\go-vgo\robotgo@v0.110.0\robotgo_fn_v1.go:17:2: undefined: Toggle
C:\Users\12194\go\pkg\mod\github.com\go-vgo\robotgo@v0.110.0\robotgo_fn_v1.go:18:2: undefined: MilliSleep
C:\Users\12194\go\pkg\mod\github.com\go-vgo\robotgo@v0.110.0\robotgo_fn_v1.go:20:2: undefined: MoveSmooth
C:\Users\12194\go\pkg\mod\github.com\go-vgo\robotgo@v0.110.0\robotgo_fn_v1.go:21:2: undefined: Toggle
C:\Users\12194\go\pkg\mod\github.com\go-vgo\robotgo@v0.110.0\robotgo_fn_v1.go:29:9: undefined: MoveSmooth
C:\Users\12194\go\pkg\mod\github.com\go-vgo\robotgo@v0.110.0\robotgo_fn_v1.go:29:9: too many errors
...