From: Phil E. <spa...@ch...> - 2012-03-16 20:03:23
|
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. |