Micronucleus compile – Archlinux

I’ve some compilation errors while trying to compile the Micronucleus V-USB bootloader in my ArchLinux machine.

To fix edit: micronucleus/commandline/library/micronucleus_lib.h and add:

#if defined WIN

#include <libusb.h> // this is libusb, see http://libusb.sourceforge.net/
#else
#include <usb.h> // this is libusb, see http://libusb.sourceforge.net/
#include <libusb-1.0/libusb.h>    <— THIS
#endif

In the Makefile set under the Linux section set:

USBLIBS=-lusb-1.0

Bye