Compiling against libusb-dev on Ubuntu

后端 未结 2 1866
一向
一向 2021-02-15 14:10

I am trying to compile the example libusb.c provided by libusb package (if you dl the source code.)

It doesn\'t work to say the least.

#include 

        
2条回答
  •  臣服心动
    2021-02-15 14:36

    Just en explanation why your attempt to replace libusb/libusb.h with usb.h fails: usb.h is a header from linux-headers, not from libusb-dev. You need #include instead.

提交回复
热议问题