On Sat, 9 Oct 2010, Michael Hoyt wrote:

I am trying to compile a small application that requires libusb on an
BeagleBoard Angstrom installation.  I am running into trouble not finding
usb.h.
My suspicions are that I need libusb-dev installed but I don't see
that as an available package for Angstrom.

What are my options at this point?  Cross compile on a host or am I
not looking in the right place for the usb.h file?

The libusb situation isn't that easy :-D

There are three recipes which could provide you with a usable header:

libusb which creates a libusb-0.1-dev package
libusb-compat which creates the same package but depends on libusb1
libusb1 creates a libusb-1.0-dev package

As you seem to use legacy API (see http://www.libusb.org/) libusb or libusb-compat are your options. Your distro should have made the selection for you, there is a virtual for this selection:

   bitbake virtual/libusb0

Vitus

PS: if anyone is trying libusb with big-endian machines, port to libusb1. libusb-0.1 has endian-problems.

--
Vitus Jensen, Hannover, Germany, Universe (current)
pgp public key available from keyservers

_______________________________________________
Angstrom-distro-users mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-users

Reply via email to