Tristan Sun wrote:
> I am new in Linux. I need use libhid,

Why? You could also take a look at HIDAPI for your HID communication
needs.



> [r...@localhost hh]# gcc test_libhid.c -I/usr/local/include -L/usr/local/lib  
> -lusb

You are linking with libusb (not libusb-1.0) but you are not linking
with libhid. Of course it will not work. Try adding -lhid but look at
HIDAPI too.


//Peter

_______________________________________________
libhid-discuss mailing list
libhid-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/libhid-discuss
http://libhid.alioth.debian.org/

Reply via email to