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

Demo does not run on windows #11

Open
apatura-iris opened this issue Oct 20, 2019 · 4 comments
Open

Demo does not run on windows #11

apatura-iris opened this issue Oct 20, 2019 · 4 comments

Comments

@apatura-iris
Copy link

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.

@arslanmughal99
Copy link

@apatura-iris Did you find any solution ?

@xiaobingcaicai
Copy link

i got the same problem

@zhuwei
Copy link

zhuwei commented Mar 11, 2021

i got the same problem.
panic: failed to get device 2 config 0: libusb: not found [code -5]

@arslanmughal99
Copy link

Looks like this project is dead . No development since year.

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

4 participants