Skip to content
This repository was archived by the owner on Mar 15, 2026. It is now read-only.
This repository was archived by the owner on Mar 15, 2026. It is now read-only.

Demo does not run on windows #11

Description

@apatura-iris

When trying to run the demo on windows 10 (1803) via go run demo.go, I get the following error:
panic: failed to get device 0 config 0: libusb: not found [code -5]

The same error appears over and over when trying to run the tests

>go test
--- FAIL: TestThreadedEnumerateRaw (93.06s)
    usb_test.go:58: thread 0, iter 0: failed to enumerate: failed to get device 0 config 0: libusb: not found [code -5]
    usb_test.go:58: thread 0, iter 1: failed to enumerate: failed to get device 0 config 0: libusb: not found [code -5]
    usb_test.go:58: thread 0, iter 2: failed to enumerate: failed to get device 0 config 0: libusb: not found [code -5]

This is with the current version from master and go1.13.1 windows/amd64 (also tried 1.12 with the same result) and mingw (64bit version) as c compiler.
On linux (Ubuntu 18.04) everything works as expected.

Suggestions on what to try or report would be highly appreciated.

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