Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[AVR] VUSB HID-CUSTOM-RQ Error!!

Status
Not open for further replies.

Narendra1190

Member level 2
Joined
Jan 23, 2014
Messages
44
Helped
6
Reputation
12
Reaction score
6
Trophy points
1,288
Activity points
1,666
Hi frds!
I am newbie to VUSB.I downloaded VUSB and tried some hid-mouse,hid-data examples using atiny85 mcu. I am using window system so using MINGW host side client.

But when i try to compile custom-class and custom-rq example, i am facing bellow error.Please help me out.

[BELOW I have copied statements from MINGW client.]

E:\vusb-20121206\vusb-20121206\examples\custom-class\commandline>make -f makefil
e.windows
gcc -I/usr/local/mingw/include -O -g -Wall -c opendevice.c
In file included from opendevice.c:17:0:
opendevice.h:28:23: error: unknown type name 'usb_dev_handle'
int usbGetStringAscii(usb_dev_handle *dev, int index, char *buf, int buflen);
^
opendevice.h:39:19: error: unknown type name 'usb_dev_handle'
int usbOpenDevice(usb_dev_handle **device, int vendorID, char *vendorNamePatter
n, int productID, char *productNamePattern, char *serialNamePattern, FILE *print
MatchingDevicesFp, FILE *warningsFp);
^
opendevice.c:85:23: error: unknown type name 'usb_dev_handle'
int usbGetStringAscii(usb_dev_handle *dev, int index, char *buf, int buflen)
^
opendevice.c:115:19: error: unknown type name 'usb_dev_handle'
int usbOpenDevice(usb_dev_handle **device, int vendorID, char *vendorNamePatter
n, int productID, char *productNamePattern, char *serialNamePattern, FILE *print
MatchingDevicesFp, FILE *warningsFp)
^
opendevice.c:76:12: warning: 'shellStyleMatch' defined but not used [-Wunused-fu
nction]
static int shellStyleMatch(char *text, char *pattern)
^
make: *** [opendevice.o] Error 1


Please help me to solve this.
Thank you.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top