Skip to content

cannot use _cgo1 (type unsafe.Pointer) as type _Ctype_PVOID in argument to _Cfunc_HidD_SetFeature #20

Description

@giohappy

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\hid@v0.0.0-20200606170446-6a2dff8586bc\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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions