Re: USB development environment query

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 18 May 2009, jack craig wrote:

> Hi Linux USB developers,
> 
> I have an FC10 installation with libusb including, ...
> 
> lrwxrwxrwx 1 root root    19 2008-11-19 11:11 /usr/lib/libusb-0.1.so.4 
> -> libusb-0.1.so.4.4.4
> -rwxr-xr-x 1 root root 33428 2008-10-20 23:22 /usr/lib/libusb-0.1.so.4.4.4
> lrwxrwxrwx 1 root root    21 2008-11-19 11:11 /usr/lib/libusbpp-0.1.so.4 
> -> libusbpp-0.1.so.4.4.4
> -rwxr-xr-x 1 root root 19264 2008-10-20 23:22 /usr/lib/libusbpp-0.1.so.4.4.4
> 
> I had read an article that Greg wrote on using libusb to get userland 
> code to discover/attach usb devices.

> My target platform is the moblin platform. It has been my plan to 
> write/compile my new code on FC10
> and dynamically link with the libusb*.so.* on FC10, the copy my binary 
> over to the moblin platform and
> run/debug there using the libusb*.so.* there. I am aware i need to sync 
> up the os & library versions,
> but this query is first.
> 
> I was cruising to build a minimal sample, calling the above 
> initialization routines just to get started.
> 
> However, i run into my first problem when there isnt an <usb.h> under 
> /usr/include.

> so, it seems like my notion of the usb development setup is flawed,

You need to install the libusb-devel package in order to build programs 
using libusb.  To _run_ these programs you need only the libusb 
package.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux