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

Cannot Build and Run v0.40.1 #51

Open
1 of 3 tasks
lee-cq opened this issue Jul 15, 2024 · 1 comment
Open
1 of 3 tasks

Cannot Build and Run v0.40.1 #51

lee-cq opened this issue Jul 15, 2024 · 1 comment

Comments

@lee-cq
Copy link

lee-cq commented Jul 15, 2024

  • Gohook version (or commit ref): 0.40.1, 0.40.0
  • Go version: 1.22.3
  • Gcc version: None
  • Operating system and bit: Windows 11, 64bit
  • Resolution: Can not Build and used.
  • Can you reproduce the bug at Examples:
    • Yes (provide example code)
    • No
    • Not relevant

Using and testing the steps in 0.40.1 (following workflows/go. yml), clone was executed, go get, go build, An error occurred during the build process.

  • Log gist:

C:\tmp\code\gohook>go build -v .
github.com/vcaesar/keycode
github.com/robotn/gohook
# github.com/robotn/gohook
.\event.go:51:10: undefined: addEvent
.\event.go:62:7: undefined: Start
.\event.go:75:18: undefined: KeyHold
.\event.go:83:18: undefined: KeyUp
.\event.go:95:22: undefined: KeyUp
.\event.go:96:4: undefined: End
.\event.go:113:7: undefined: Start
.\event.go:121:17: undefined: MouseMove
.\event.go:128:22: undefined: MouseDown
.\event.go:129:4: undefined: End
.\event.go:129:4: too many errors

C:\tmp\code\gohook>go test -v .
# github.com/robotn/gohook [github.com/robotn/gohook.test]
.\event.go:51:10: undefined: addEvent
.\event.go:62:7: undefined: Start
.\event.go:75:18: undefined: KeyHold
.\event.go:83:18: undefined: KeyUp
.\event.go:95:22: undefined: KeyUp
.\event.go:96:4: undefined: End
.\event.go:113:7: undefined: Start
.\event.go:121:17: undefined: MouseMove
.\event.go:128:22: undefined: MouseDown
.\event.go:129:4: undefined: End
.\event.go:129:4: too many errors
FAIL github.com/robotn/gohook [build failed]
FAIL

Description

...

@hellosqi
Copy link

I also encountered the same problem.

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

2 participants