俩个步骤 sudo apt-get install libusb-1.0.0-dev 原程序头文件为:#include <libusb.h> 修改为:#include <libusb-1.0/libusb.h> 再去编译