<?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/6153" />

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2011-11-01T15:49:13+02:00</updated>

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

		<entry>
		<author><name><![CDATA[Daid]]></name></author>
		<updated>2011-11-01T15:49:13+02:00</updated>

		<published>2011-11-01T15:49:13+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=6153&amp;p=20057#p20057</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=6153&amp;p=20057#p20057"/>
		<title type="html"><![CDATA[Re: problems, compile commandline tools under mac os x 10.6.8]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=6153&amp;p=20057#p20057"><![CDATA[
Those fuse settings select a low frequency crystal, you want a high frequency crystal selection. It's also better to turn on the brownout detector.<br />I've used low: 0x3F high: 0xC9 with succes on the ATMega8A.<br /><br />You can check the fuse settings here: <!-- m --><a class="postlink" href="http://www.engbedded.com/fusecalc/">http://www.engbedded.com/fusecalc/</a><!-- m --><br /><br /><br />I'm not sure if MacOS has the command &quot;lsusb&quot;, but that command should show your USB device once it's plugged in. If it's not then your V-USB is not working correctly yet. If it shows there and the commandline tool cannot find it, then there is a problem with the commandline tool.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=5154">Daid</a> — Tue Nov 01, 2011 3:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[pepperbilly]]></name></author>
		<updated>2011-10-31T23:45:20+02:00</updated>

		<published>2011-10-31T23:45:20+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=6153&amp;p=20053#p20053</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=6153&amp;p=20053#p20053"/>
		<title type="html"><![CDATA[Re: problems, compile commandline tools under mac os x 10.6.8]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=6153&amp;p=20053#p20053"><![CDATA[
ok. after a new installation of xcode, everything works fine. i be able to compile the commandline tool. but somehow the tool don't find the device.<br /><div class="codebox"><p>Code: </p><pre><code>Could not find USB device &quot;USB-LED-Fader&quot; with vid=0x16c0 pid=0x5dc<br /></code></pre></div><br />the fuse-bits are set as follow:<br /><div class="codebox"><p>Code: </p><pre><code>-U hfuse:w:0xC9:m -U lfuse:w:0x9 F:m<br /></code></pre></div><br /><br />i hope i will find out more tomorrow.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=5956">pepperbilly</a> — Mon Oct 31, 2011 11:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[pepperbilly]]></name></author>
		<updated>2011-10-31T13:37:54+02:00</updated>

		<published>2011-10-31T13:37:54+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=6153&amp;p=20050#p20050</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=6153&amp;p=20050#p20050"/>
		<title type="html"><![CDATA[Re: problems, compile commandline tools under mac os x 10.6.8]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=6153&amp;p=20050#p20050"><![CDATA[
ok, thx.<br />i taught it was some like this. but i also taught that gcc is a standard in mac witch came's with the developer environment. how ever right now i try to install/update to the latest xcode and hope its done with that.<br /><br />i will report what happens as soon the installation is done.<br /><br />tcb<br /><br />sascha<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=5956">pepperbilly</a> — Mon Oct 31, 2011 1:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Daid]]></name></author>
		<updated>2011-10-31T10:18:26+02:00</updated>

		<published>2011-10-31T10:18:26+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=6153&amp;p=20049#p20049</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=6153&amp;p=20049#p20049"/>
		<title type="html"><![CDATA[Re: problems, compile commandline tools under mac os x 10.6.8]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=6153&amp;p=20049#p20049"><![CDATA[
Somehow building a commandline tool for the mac with an AVR compiler doesn't strike me as a good idea. I don't own a mac, but you'll need to install &amp; use gcc for the mac for the commandline tools.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=5154">Daid</a> — Mon Oct 31, 2011 10:18 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[pepperbilly]]></name></author>
		<updated>2011-10-30T22:31:22+02:00</updated>

		<published>2011-10-30T22:31:22+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=6153&amp;p=20044#p20044</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=6153&amp;p=20044#p20044"/>
		<title type="html"><![CDATA[problems, compile commandline tools under mac os x 10.6.8]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=6153&amp;p=20044#p20044"><![CDATA[
Hi There.<br /><br />im am new to v-usb. i have some expirience with avr programing using avr studio. after that i get some expirience with crossPack and the stk500 under mac os x wich works fine for me to flash the avr's on a mac.<br /><br />now i tried to get some expirience with the v-usb but i failed in one case. i tried for example to make the &quot;usb-led-fader&quot; run (because of i own all the compnent wich are used to bild the hardware). i have compiled and flashed the firmware on my atmega8 wich works all fine after some small modifications in the makefile.<br /><br />but i dont get the makefile running. the problem must be in the gcc or in the libusb or both. but i cant figure out what it is exactly.<br /><br />first try (no changes at the Makefile):<br />makefile:<br /><div class="codebox"><p>Code: </p><pre><code>CC              = gcc<br />LIBUSB_CONFIG   = libusb-config<br /></code></pre></div><br /><br />gets me the followed error:<br /><div class="codebox"><p>Code: </p><pre><code>gcc `libusb-config --cflags` -O -Wall -I../common -c usb-led-fader.c<br />/bin/sh: gcc: command not found<br />make: *** &#91;usb-led-fader.o&#93; Error 127<br /></code></pre></div><br /><br />second try (modified makefile after locateing gcc and libusb-confic on my system):<br /><div class="codebox"><p>Code: </p><pre><code>CC              = /usr/local/CrossPack-AVR-20100115/avr-3/bin/gcc<br />LIBUSB_CONFIG   = /usr/local/CrossPack-AVR-20100115/bin/libusb-config<br /></code></pre></div><br /><br />gets me the followed error:<br /><div class="codebox"><p>Code: </p><pre><code>/usr/local/CrossPack-AVR-20100115/avr-3/bin/gcc `/usr/local/CrossPack-AVR-20100115/bin/libusb-config --cflags` -O -Wall -I../common -c usb-led-fader.c<br />In file included from usb-led-fader.c:13:<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:14:20: unistd.h: No such file or directory<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:18:20: dirent.h: No such file or directory<br />In file included from usb-led-fader.c:13:<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:67: error: syntax error before &quot;u_int8_t&quot;<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:67: warning: no semicolon at end of struct or union<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:68: warning: type defaults to `int' in declaration of `bDescriptorType'<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:68: warning: data definition has no type or storage class<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:73: error: syntax error before &quot;u_int8_t&quot;<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:73: warning: no semicolon at end of struct or union<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:74: warning: type defaults to `int' in declaration of `bDescriptorType'<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:74: warning: data definition has no type or storage class<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:75: error: syntax error before &quot;wData&quot;<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:75: warning: type defaults to `int' in declaration of `wData'<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:75: warning: data definition has no type or storage class<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:76: error: syntax error before '}' token<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:80: error: syntax error before &quot;u_int8_t&quot;<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:80: warning: no semicolon at end of struct or union<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:81: warning: type defaults to `int' in declaration of `bDescriptorType'<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:81: warning: data definition has no type or storage class<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:82: error: syntax error before &quot;bcdHID&quot;<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:82: warning: type defaults to `int' in declaration of `bcdHID'<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:82: warning: data definition has no type or storage class<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:83: error: syntax error before &quot;bCountryCode&quot;<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:83: warning: type defaults to `int' in declaration of `bCountryCode'<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:83: warning: data definition has no type or storage class<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:84: error: syntax error before &quot;bNumDescriptors&quot;<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:84: warning: type defaults to `int' in declaration of `bNumDescriptors'<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:84: warning: data definition has no type or storage class<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:93: error: syntax error before &quot;u_int8_t&quot;<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:93: warning: no semicolon at end of struct or union<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:94: warning: type defaults to `int' in declaration of `bDescriptorType'<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:94: warning: data definition has no type or storage class<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:95: error: syntax error before &quot;bEndpointAddress&quot;<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:95: warning: type defaults to `int' in declaration of `bEndpointAddress'<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:95: warning: data definition has no type or storage class<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:96: error: syntax error before &quot;bmAttributes&quot;<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:96: warning: type defaults to `int' in declaration of `bmAttributes'<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:96: warning: data definition has no type or storage class<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:97: error: syntax error before &quot;wMaxPacketSize&quot;<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:97: warning: type defaults to `int' in declaration of `wMaxPacketSize'<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:97: warning: data definition has no type or storage class<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:98: error: syntax error before &quot;bInterval&quot;<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:98: warning: type defaults to `int' in declaration of `bInterval'<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:98: warning: data definition has no type or storage class<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:99: error: syntax error before &quot;bRefresh&quot;<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:99: warning: type defaults to `int' in declaration of `bRefresh'<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:99: warning: data definition has no type or storage class<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:100: error: syntax error before &quot;bSynchAddress&quot;<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:100: warning: type defaults to `int' in declaration of `bSynchAddress'<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:100: warning: data definition has no type or storage class<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:104: error: syntax error before '}' token<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:118: error: syntax error before &quot;u_int8_t&quot;<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:118: warning: no semicolon at end of struct or union<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:119: warning: type defaults to `int' in declaration of `bDescriptorType'<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:119: warning: data definition has no type or storage class<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:120: error: syntax error before &quot;bInterfaceNumber&quot;<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:120: warning: type defaults to `int' in declaration of `bInterfaceNumber'<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:120: warning: data definition has no type or storage class<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:121: error: syntax error before &quot;bAlternateSetting&quot;<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:121: warning: type defaults to `int' in declaration of `bAlternateSetting'<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:121: warning: data definition has no type or storage class<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:122: error: syntax error before &quot;bNumEndpoints&quot;<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:122: warning: type defaults to `int' in declaration of `bNumEndpoints'<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:122: warning: data definition has no type or storage class<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:123: error: syntax error before &quot;bInterfaceClass&quot;<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:123: warning: type defaults to `int' in declaration of `bInterfaceClass'<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:123: warning: data definition has no type or storage class<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:124: error: syntax error before &quot;bInterfaceSubClass&quot;<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:124: warning: type defaults to `int' in declaration of `bInterfaceSubClass'<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:124: warning: data definition has no type or storage class<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:125: error: syntax error before &quot;bInterfaceProtocol&quot;<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:125: warning: type defaults to `int' in declaration of `bInterfaceProtocol'<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:125: warning: data definition has no type or storage class<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:126: error: syntax error before &quot;iInterface&quot;<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:126: warning: type defaults to `int' in declaration of `iInterface'<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:126: warning: data definition has no type or storage class<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:132: error: syntax error before '}' token<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:144: error: syntax error before &quot;u_int8_t&quot;<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:144: warning: no semicolon at end of struct or union<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:145: warning: type defaults to `int' in declaration of `bDescriptorType'<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:145: warning: data definition has no type or storage class<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:146: error: syntax error before &quot;wTotalLength&quot;<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:146: warning: type defaults to `int' in declaration of `wTotalLength'<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:146: warning: data definition has no type or storage class<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:147: error: syntax error before &quot;bNumInterfaces&quot;<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:147: warning: type defaults to `int' in declaration of `bNumInterfaces'<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:147: warning: data definition has no type or storage class<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:148: error: syntax error before &quot;bConfigurationValue&quot;<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:148: warning: type defaults to `int' in declaration of `bConfigurationValue'<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:148: warning: data definition has no type or storage class<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:149: error: syntax error before &quot;iConfiguration&quot;<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:149: warning: type defaults to `int' in declaration of `iConfiguration'<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:149: warning: data definition has no type or storage class<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:150: error: syntax error before &quot;bmAttributes&quot;<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:150: warning: type defaults to `int' in declaration of `bmAttributes'<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:150: warning: data definition has no type or storage class<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:151: error: syntax error before &quot;MaxPower&quot;<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:151: warning: type defaults to `int' in declaration of `MaxPower'<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:151: warning: data definition has no type or storage class<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:157: error: syntax error before '}' token<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:161: error: syntax error before &quot;u_int8_t&quot;<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:161: warning: no semicolon at end of struct or union<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:162: warning: type defaults to `int' in declaration of `bDescriptorType'<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:162: warning: data definition has no type or storage class<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:163: error: syntax error before &quot;bcdUSB&quot;<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:163: warning: type defaults to `int' in declaration of `bcdUSB'<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:163: warning: data definition has no type or storage class<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:164: error: syntax error before &quot;bDeviceClass&quot;<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:164: warning: type defaults to `int' in declaration of `bDeviceClass'<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:164: warning: data definition has no type or storage class<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:165: error: syntax error before &quot;bDeviceSubClass&quot;<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:165: warning: type defaults to `int' in declaration of `bDeviceSubClass'<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:165: warning: data definition has no type or storage class<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:166: error: syntax error before &quot;bDeviceProtocol&quot;<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:166: warning: type defaults to `int' in declaration of `bDeviceProtocol'<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:166: warning: data definition has no type or storage class<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:167: error: syntax error before &quot;bMaxPacketSize0&quot;<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:167: warning: type defaults to `int' in declaration of `bMaxPacketSize0'<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:167: warning: data definition has no type or storage class<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:168: error: syntax error before &quot;idVendor&quot;<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:168: warning: type defaults to `int' in declaration of `idVendor'<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:168: warning: data definition has no type or storage class<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:169: error: syntax error before &quot;idProduct&quot;<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:169: warning: type defaults to `int' in declaration of `idProduct'<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:169: warning: data definition has no type or storage class<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:170: error: syntax error before &quot;bcdDevice&quot;<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:170: warning: type defaults to `int' in declaration of `bcdDevice'<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:170: warning: data definition has no type or storage class<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:171: error: syntax error before &quot;iManufacturer&quot;<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:171: warning: type defaults to `int' in declaration of `iManufacturer'<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:171: warning: data definition has no type or storage class<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:172: error: syntax error before &quot;iProduct&quot;<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:172: warning: type defaults to `int' in declaration of `iProduct'<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:172: warning: data definition has no type or storage class<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:173: error: syntax error before &quot;iSerialNumber&quot;<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:173: warning: type defaults to `int' in declaration of `iSerialNumber'<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:173: warning: data definition has no type or storage class<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:174: error: syntax error before &quot;bNumConfigurations&quot;<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:174: warning: type defaults to `int' in declaration of `bNumConfigurations'<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:174: warning: data definition has no type or storage class<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:178: error: syntax error before &quot;u_int8_t&quot;<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:178: warning: no semicolon at end of struct or union<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:179: warning: type defaults to `int' in declaration of `bRequest'<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:179: warning: data definition has no type or storage class<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:180: error: syntax error before &quot;wValue&quot;<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:180: warning: type defaults to `int' in declaration of `wValue'<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:180: warning: data definition has no type or storage class<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:181: error: syntax error before &quot;wIndex&quot;<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:181: warning: type defaults to `int' in declaration of `wIndex'<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:181: warning: data definition has no type or storage class<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:182: error: syntax error before &quot;wLength&quot;<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:182: warning: type defaults to `int' in declaration of `wLength'<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:182: warning: data definition has no type or storage class<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:244: error: `PATH_MAX' undeclared here (not in a function)<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:248: error: field `descriptor' has incomplete type<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:253: error: syntax error before &quot;u_int8_t&quot;<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:253: warning: no semicolon at end of struct or union<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:257: error: syntax error before '}' token<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:265: error: syntax error before &quot;u_int32_t&quot;<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:265: warning: no semicolon at end of struct or union<br />/usr/local/CrossPack-AVR-20100115/include/usb.h:268: error: syntax error before '}' token<br />usb-led-fader.c: In function `usbOpenDevice':<br />usb-led-fader.c:112: error: dereferencing pointer to incomplete type<br />usb-led-fader.c:113: error: dereferencing pointer to incomplete type<br />usb-led-fader.c:113: error: dereferencing pointer to incomplete type<br />usb-led-fader.c:114: error: dereferencing pointer to incomplete type<br />usb-led-fader.c:114: error: dereferencing pointer to incomplete type<br />usb-led-fader.c:127: error: dereferencing pointer to incomplete type<br />usb-led-fader.c:135: error: dereferencing pointer to incomplete type<br />usb-led-fader.c: In function `dev_status':<br />usb-led-fader.c:310: warning: int format, different type arg (arg 6)<br />usb-led-fader.c:319: warning: int format, different type arg (arg 7)<br />make: *** &#91;usb-led-fader.o&#93; Error 1<br /></code></pre></div><br /><br />is somebody out there who have expirience with mac os x and the commandline tools from v-usb?<br />wich are the correct path to gcc and libusb config?<br />and from where should i (re)install libusb and gcc?<br /><br />libusb is from: <!-- m --><a class="postlink" href="http://www.ellert.se/twain-sane/">http://www.ellert.se/twain-sane/</a><!-- m --><br />0.1.13 beta 2009-09-10 package type: binary<br /><br />and the gcc i tried to use was from the crosspack. but there must be one came with xcode.<br /><br />thanks for help.<br /><br />tcb<br /><br />sascha<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=5956">pepperbilly</a> — Sun Oct 30, 2011 10:31 pm</p><hr />
]]></content>
	</entry>
	</feed>
