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

libusb compatibility #1

Open
makzr opened this issue Nov 15, 2012 · 1 comment
Open

libusb compatibility #1

makzr opened this issue Nov 15, 2012 · 1 comment

Comments

@makzr
Copy link

makzr commented Nov 15, 2012

Hi,

What version of libusb did you use?

I am wondering because you include a header file called usb.h.
The normal libusb header file is called libusb.h.

And you are using type names and function names that are not defined by the official libusb header file:
http://libusb.sourceforge.net/api-1.0/libusb_8h_source.html

Thus I am not able to compile the ruby extension.

Best Regards
Markus

@thepatrick
Copy link

You'll need libusb 0.1 - it has a very different api.

Under ubuntu it's usually libusb-0.1 or libusb-0.1.4 and libusb-dev.

With that it just worked for me!

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