Displaying 2 results from an estimated 2 matches for "libusb_impl".
2024 Nov 02
1
Driver with calls to USB functions not linking
Do your drivers/Makefile.am rules for the resulting new program specify
dependencies to use similar to other USB-capable drivers? e.g.
````
blazer_usb_SOURCES = blazer.c blazer_usb.c $(LIBUSB_IMPL) usb-common.c
blazer_usb_LDADD = $(LDADD_DRIVERS) $(LIBUSB_LIBS) -lm
````
Jim
On Sat, Nov 2, 2024 at 2:30?AM William R. Elliot <bill at wreassoc.com> wrote:
> Hello again all.
>
> I am trying to use USB functions (non-HID) and I get a linker error
> for functions that are in th...
2024 Nov 02
1
Driver with calls to USB functions not linking
Hello again all.
I am trying to use USB functions (non-HID) and I get a linker error
for functions that are in the included usb-common.h file.
Specifically, at the start, these functions:
- warn_if_bad_usb_port_filename
- nutusb_open
- is_usb_device_supported
Clearly the headers are there or I don't think the driver would
compile. Can someone point me in the right direction please?
Thank