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 use _cgo1 (type unsafe.Pointer) as type _Ctype_PVOID in argument to _Cfunc_HidD_SetFeature #20

Open
giohappy opened this issue Jul 8, 2022 · 0 comments

Comments

@giohappy
Copy link

giohappy commented Jul 8, 2022

Im on Windows, with Go 1.17.1 and mingw-64.

When I try to get (and build) your library I get the following error:

github.com\boombuler\[email protected]\hid_windows.go:74:111: cannot use _cgo1 (type unsafe.Pointer) as type _Ctype_PVOID in argument to _Cfunc_HidD_SetFeature

Do you think it's something due to more recent versions of cgo not supporting it?

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

1 participant