Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't import? #54

Open
ds0nt opened this issue Sep 13, 2024 · 3 comments
Open

Doesn't import? #54

ds0nt opened this issue Sep 13, 2024 · 3 comments

Comments

@ds0nt
Copy link

ds0nt commented Sep 13, 2024

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
Copy link
Author

ds0nt commented Sep 13, 2024

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

@n4nn31355
Copy link

n4nn31355 commented Sep 26, 2024

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

@martypenner
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants