elpeo / rbtemper

Ruby TEMPer library
9 stars 34 forks source link

libusb compatibility #1

Open makzr opened 12 years ago

makzr commented 12 years ago

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 commented 11 years ago

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!