<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forums.obdev.at/app.php/feed/topic/9901" />

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2015-06-30T11:38:57+02:00</updated>

	<author><name><![CDATA[Objective Development Forums]]></name></author>
	<id>https://forums.obdev.at/app.php/feed/topic/9901</id>

		<entry>
		<author><name><![CDATA[usbcapu]]></name></author>
		<updated>2015-06-30T11:38:57+02:00</updated>

		<published>2015-06-30T11:38:57+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=9901&amp;p=29900#p29900</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=9901&amp;p=29900#p29900"/>
		<title type="html"><![CDATA[VUSB HID-CUSTOM-CLASS ERROR!!]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=9901&amp;p=29900#p29900"><![CDATA[
Hi Friends!<br />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.<br />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'<br /><br />[BELOW I have copied statements from MINGW client.]<br /><br /><span style="color: #FF0040">E:\vusb-20121206\vusb-20121206\examples\custom-class\commandline&gt;make -f makefil<br />e.windows<br />gcc  -I/usr/local/mingw/include -O -g -Wall -c opendevice.c<br />In file included from opendevice.c:17:0:<br />opendevice.h:28:23: error: unknown type name 'usb_dev_handle'<br /> int usbGetStringAscii(usb_dev_handle *dev, int index, char *buf, int buflen);<br />                       ^<br />opendevice.h:39:19: error: unknown type name 'usb_dev_handle'<br /> int usbOpenDevice(usb_dev_handle **device, int vendorID, char *vendorNamePatter<br />n, int productID, char *productNamePattern, char *serialNamePattern, FILE *print<br />MatchingDevicesFp, FILE *warningsFp);<br />                   ^<br />opendevice.c:85:23: error: unknown type name 'usb_dev_handle'<br /> int usbGetStringAscii(usb_dev_handle *dev, int index, char *buf, int buflen)<br />                       ^<br />opendevice.c:115:19: error: unknown type name 'usb_dev_handle'<br /> int usbOpenDevice(usb_dev_handle **device, int vendorID, char *vendorNamePatter<br />n, int productID, char *productNamePattern, char *serialNamePattern, FILE *print<br />MatchingDevicesFp, FILE *warningsFp)<br />                   ^<br />opendevice.c:76:12: warning: 'shellStyleMatch' defined but not used [-Wunused-fu<br />nction]<br /> static int shellStyleMatch(char *text, char *pattern)<br />            ^<br />make: *** [opendevice.o] Error 1</span><br /><br /><br />please help me to get out of this.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=21429">usbcapu</a> — Tue Jun 30, 2015 11:38 am</p><hr />
]]></content>
	</entry>
	</feed>
