Are the examples using libusb 0.1 or -1.0? I can't compile any of the examples I get the following errors:
In file included from blink.c:14: In file included from ../library/littleWire.h:36: ../library/opendevice.h:33:23: error: unknown type name 'usb_dev_handle' int usbGetStringAscii(usb_dev_handle *dev, int index, char *buf, int buflen); ^ ../library/opendevice.h:44:19: error: unknown type name 'usb_dev_handle' int usbOpenDevice(usb_dev_handle **device, int vendorID, char *vendorNamePattern, int productID, cha... ^ In file included from blink.c:14: ../library/littleWire.h:105:9: error: unknown type name 'usb_dev_handle' typedef usb_dev_handle littleWire; ^ 3 errors generated.
Thanks
Are the examples using libusb 0.1 or -1.0? I can't compile any of the examples I get the following errors:
In file included from blink.c:14: In file included from ../library/littleWire.h:36: ../library/opendevice.h:33:23: error: unknown type name 'usb_dev_handle' int usbGetStringAscii(usb_dev_handle *dev, int index, char *buf, int buflen); ^ ../library/opendevice.h:44:19: error: unknown type name 'usb_dev_handle' int usbOpenDevice(usb_dev_handle **device, int vendorID, char *vendorNamePattern, int productID, cha... ^ In file included from blink.c:14: ../library/littleWire.h:105:9: error: unknown type name 'usb_dev_handle' typedef usb_dev_handle littleWire; ^ 3 errors generated.Thanks