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
This is what I had to do on Debian. It should be at least similar in Ubuntu.
Install libusb-1.0-0-dev
libusb-1.0-0-dev
Instead of:
do:
Compile with:
gcc example.c `pkg-config --libs --cflags libusb-1.0`