I\'m trying to compile the following libusb snippet on my Mac:
#include #include #include int main(void) {
As we worked out in all the comments the link command that worked is
gcc -L/usr/local/Cellar/libusb/1.0.9/lib -o "libusb_example" ./src/libusb_example.o -lusb1.0