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

Libusbx issue under Windows with USB3 controller #281

Closed
jmichelp opened this issue Jul 16, 2014 · 2 comments
Closed

Libusbx issue under Windows with USB3 controller #281

jmichelp opened this issue Jul 16, 2014 · 2 comments

Comments

@jmichelp
Copy link
Contributor

By following the guide from the wiki on how to compile bladeRF lib and tools under Windows, we are told to use libusx-1.0.18.

At least under my setup (Win8.1 64bits Intel USB3 controller), I had corrupted samples: 1 sample out of 2 was zeroed. It took me some time to figure out that the libusb-1.0.dll is the root cause of that.

Moving to the latest libusb-1.0.19 ( http://sourceforge.net/projects/libusb/files/libusb-1.0/libusb-1.0.19/ ) and recompiling bladeRF lib + tools (just in case) solved that problem.

In addition, libusbx is deprecated since January (source: http://libusbx.org/ ) as it was merged back into libusb.

It might be worth updating the wiki and also issuing a warning in CMake if trying to build against libusbx

@jynik
Copy link
Contributor

jynik commented Jul 17, 2014

@jmichelp, thanks for tracking that down. I'll look to make the changes you recommend within the next couple days. Cheers!

@jynik
Copy link
Contributor

jynik commented Jul 23, 2014

I updated the wiki and adjusted the CMake LIBUSB_PATH default to libusb-1.0.19. In the future, I'll look to add some sort of warning, or just skip over libusbx entirely in the CMake module.

Closing this for now, as I think we've resolved the main issue of instructions and the defaults being out of date.

@jynik jynik closed this as completed Jul 23, 2014
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

2 participants