VUSB HID-CUSTOM-CLASS ERROR!!

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
usbcapu
Posts: 1
Joined: Tue Jun 30, 2015 11:21 am

VUSB HID-CUSTOM-CLASS ERROR!!

Post by usbcapu » Tue Jun 30, 2015 11:38 am

Hi Friends!
I am newbie to Vusb. i downloaded VUSB and tried several example like hid-mouse,hid-data with attiny85 MCU.It worked with MINGW host.
Now i am trying custom class, and hid-custom-rq examples,but i am facing error when i MAKE in MINGW using 'make -f makefile.windows'

[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 get out of this.

Post Reply