Dear Phil,
The configure script should check for libusb-1.0
but indeed libusb-1.0-0-dev is the package you will need.
/usr/include/usb.h is from usb 0.12, that is the older version of libusb
which can't be used anymore with usbpicprog.
Kind regards,
Frans Schreuder
On 03/16/2012 09:03 PM, Phil Endecott wrote:
> Dear Experts,
>
> Does anyone understand the requirements for libusb, specifically on Debian?
>
> As far as I can see, the configure script doesn't check for anything
> related to libusb; it probably should. When I compile I get
>
> main.cpp:32:20: fatal error: libusb.h: No such file or directory
> hardware.cpp:31:20: fatal error: libusb.h: No such file or directory
>
> packages.debian.org can find /usr/include/libusb-1.0/libusb.h in
> package libusb-1.0-0-dev. Is this the right file, in which case
> usbpicprog would benefit from -I/usr/include/libusb-1.0, or should it
> instead be using /usr/include/usb.h (there is a cryptic comment about
> this in the source)? A quick hack to try usb.h didn't work.
>
> Sorry if I am missing something obvious...
>
>
> Regards, Phil.
>
>
>
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> Usbpicprog-technical mailing list
> Usb...@li...
> https://lists.sourceforge.net/lists/listinfo/usbpicprog-technical
|