gohook icon indicating copy to clipboard operation
gohook copied to clipboard

Doesn't import?

Open ds0nt opened this issue 1 year ago • 3 comments

github.com/robotn/gohook

../go/pkg/mod/github.com/robotn/[email protected]/event.go:51:10: undefined: addEvent ../go/pkg/mod/github.com/robotn/[email protected]/event.go:62:7: undefined: Start ../go/pkg/mod/github.com/robotn/[email protected]/event.go:75:18: undefined: KeyHold ../go/pkg/mod/github.com/robotn/[email protected]/event.go:83:18: undefined: KeyUp ../go/pkg/mod/github.com/robotn/[email protected]/event.go:95:22: undefined: KeyUp ../go/pkg/mod/github.com/robotn/[email protected]/event.go:96:4: undefined: End ../go/pkg/mod/github.com/robotn/[email protected]/event.go:113:7: undefined: Start ../go/pkg/mod/github.com/robotn/[email protected]/event.go:121:17: undefined: MouseMove ../go/pkg/mod/github.com/robotn/[email protected]/event.go:128:22: undefined: MouseDown ../go/pkg/mod/github.com/robotn/[email protected]/event.go:129:4: undefined: End ../go/pkg/mod/github.com/robotn/[email protected]/event.go:129:4: too many errors

ds0nt avatar Sep 13 '24 00:09 ds0nt

Same with github.com/robotn/gohook v0.40.0 and github.com/robotn/gohook v0.41.0

ds0nt avatar Sep 13 '24 00:09 ds0nt

You most likely don't have the required libs and GCC setup https://github.com/go-vgo/robotgo?tab=readme-ov-file#requirements

n4nn31355 avatar Sep 26 '24 13:09 n4nn31355

That definitely did it for me, after I carefully followed the instructions. Having a docker setup helped my investigation.

martypenner avatar Sep 26 '24 13:09 martypenner