New versions of gphoto2 and libgphoto2 are out. I am new to cross compiling and have no luck. I can't seem to explain to ./configure where to find usb.h:
checking for LIBUSB... yes
checking usb.h usability... no
checking usb.h presence... no
checking for usb.h... no
configure: error:
PKG_CONFIG_PATH=/opt/cross/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/lib/pkgconfig
LIBUSB_LIBS=-lusb
LIBUSB_CFLAGS=
* Fatal: libgphoto2_port by default requires libusb >= 0.1.5 to build.
File usb.h can be found at
/opt/cross/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/include/linux/usb.h
and I've tried using ./configure with both
--x-includes=/opt/cross/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/include
--x-includes=/opt/cross/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/include/linux
to no avail. How do I make ./configure recognize it?