Skip to content

Can't compile any examples.  #29

@mixographer

Description

@mixographer

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions