Skip to content

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

@giohappy

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\[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?

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