[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: where is usb.h?



Hi,

Mark Copper
> There is a Perl package, libdevice-usb-perl, in which C code is
> "inlined" (using Perl package libinline-c-perl). The first statement
> of the inlined C code is
>   #include <usb.h>
> The query
>   https://packages.debian.org/search?searchon=contents&keywords=usb.h
> shows many results,

But not my first suspect:

  libusb-dev: /usr/include/usb.h

(One of the results of:
   apt-file search /usb.h
 This more narrow search finds it too:
   https://packages.debian.org/search?suite=jessie&section=all&arch=any&searchon=contents&keywords=include%2Fusb.h
)

Am i right that you mean
  https://sources.debian.net/src/libdevice-usb-perl/0.36-3/lib/Device/USB.pm/#L537
?
In line 13 of that file, there is mentioned '-lusb', which would be
the linker option to link with libusb. libusb-dev would be the package
with include files for libusb.


Have a nice day :)

Thomas


Reply to: