I've got an older libftdi installed, and my libusb doesn't install the
1.0 header file into a subdirectory (because it's not a 3rd-party
library but an OS-supplied one):
In file included from ../avrftdi.c:43:
../avrftdi_private.h:9:31: error: libusb-1.0/libusb.h: No such file or directory
../avrftdi.c: In function 'avrftdi_open':
../avrftdi.c:650: error: 'TYPE_232H' undeclared (first use in this function)
../avrftdi.c:650: error: (Each undeclared identifier is reported only once
../avrftdi.c:650: error: for each function it appears in.)
*** Error code 1
Please see usbasp.c for how to resolve the include file issue, and
test for TYPE_232H being defined before using it.