Open ds0nt opened 2 weeks ago
Same with github.com/robotn/gohook v0.40.0 and github.com/robotn/gohook v0.41.0
You most likely don't have the required libs and GCC setup https://github.com/go-vgo/robotgo?tab=readme-ov-file#requirements
That definitely did it for me, after I carefully followed the instructions. Having a docker setup helped my investigation.
github.com/robotn/gohook
../go/pkg/mod/github.com/robotn/gohook@v0.40.0/event.go:51:10: undefined: addEvent ../go/pkg/mod/github.com/robotn/gohook@v0.40.0/event.go:62:7: undefined: Start ../go/pkg/mod/github.com/robotn/gohook@v0.40.0/event.go:75:18: undefined: KeyHold ../go/pkg/mod/github.com/robotn/gohook@v0.40.0/event.go:83:18: undefined: KeyUp ../go/pkg/mod/github.com/robotn/gohook@v0.40.0/event.go:95:22: undefined: KeyUp ../go/pkg/mod/github.com/robotn/gohook@v0.40.0/event.go:96:4: undefined: End ../go/pkg/mod/github.com/robotn/gohook@v0.40.0/event.go:113:7: undefined: Start ../go/pkg/mod/github.com/robotn/gohook@v0.40.0/event.go:121:17: undefined: MouseMove ../go/pkg/mod/github.com/robotn/gohook@v0.40.0/event.go:128:22: undefined: MouseDown ../go/pkg/mod/github.com/robotn/gohook@v0.40.0/event.go:129:4: undefined: End ../go/pkg/mod/github.com/robotn/gohook@v0.40.0/event.go:129:4: too many errors