Linux LIBUSB installation and simple use one, reference documents:1. LIBUSB1 fails do_configure task with "Udev support requested but Libudev not installed" http://stackoverflow.com/questions/23712859/ Libusb1-fails-do-configure-task-with-udev-support-requested-but-libudev-not-ins 2. LIBUSB compilation error on Slackware -http://stackoverflow.com/questions/29552267/libusb-compilation-error-on-slackware-14 3. Jan Axelson's Generic HID example under Linux with Libusbhttp//www.microchip.com/forums/m340898.aspx 4. slackware-USB Library http://www.linuxquestions.org/questions/slackware-14/slackware-usb-library-4175475048/Second, download LIBUSB:1. URL: http://www.libusb.org/ 2. Download: libusb-1.0.9, jump to unzip, and install:./configure && make &&Make install;3. Download: libusb-compat-0.1.4, jump to unzip, and install (must be installed, otherwise always reported all kinds of mistakes, I use the 64-bit system):./configure && make &&make install ; third, LIBUSB installation error:1. Error message: Checking forInline ... inline checking operating system ... Linux checking forLibrary containing clock_gettime ...-LRT checking libudev.h usability ... no checking libudev.h presence ... no checking forlibudev.h no Configure:error:"Udev support requested and Libudev not installed" 2. Workaround: sudo apt-GetInstall libudev-Dev IV, Example:reference:http://www.microchip.com/forums/m340898.aspx
Linux LIBUSB installation and simple use