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

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2010-10-17T14:04:44+02:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2010-10-17T14:04:44+02:00</updated>

		<published>2010-10-17T14:04:44+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=4927&amp;p=16267#p16267</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=4927&amp;p=16267#p16267"/>
		<title type="html"><![CDATA[Re: example software host application compiler problem]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=4927&amp;p=16267#p16267"><![CDATA[
Problem solved, I made a little typo in the makefile.Windows -lusb.<br /><br />Thanks all.<br /><br />Koen<p>Statistics: Posted by Guest — Sun Oct 17, 2010 2:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2010-10-17T11:02:44+02:00</updated>

		<published>2010-10-17T11:02:44+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=4927&amp;p=16266#p16266</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=4927&amp;p=16266#p16266"/>
		<title type="html"><![CDATA[Re: example software host application compiler problem]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=4927&amp;p=16266#p16266"><![CDATA[
Mmmm ... Been there done that still get the undefined reference problem. This must be a Windows 7 related problem. The controller firmware gets recognized by Windows, the driver gets loaded ... But I'm unable to compile (better link) the host application.<br /><br />Koen.<p>Statistics: Posted by Guest — Sun Oct 17, 2010 11:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[jay.elle]]></name></author>
		<updated>2010-10-16T21:55:29+02:00</updated>

		<published>2010-10-16T21:55:29+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=4927&amp;p=16262#p16262</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=4927&amp;p=16262#p16262"/>
		<title type="html"><![CDATA[Re: example software host application compiler problem]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=4927&amp;p=16262#p16262"><![CDATA[
i'm a noob and i don't use windows so i can't be of more help, but try this:<br /><br /><!-- l --><a class="postlink-local" href="http://forums.obdev.at/viewtopic.php?f=8&amp;t=4749&amp;p=15603&amp;hilit=compile#p15603">viewtopic.php?f=8&amp;t=4749&amp;p=15603&amp;hilit=compile#p15603</a><!-- l --><p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=4241">jay.elle</a> — Sat Oct 16, 2010 9:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2010-10-16T17:25:29+02:00</updated>

		<published>2010-10-16T17:25:29+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=4927&amp;p=16259#p16259</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=4927&amp;p=16259#p16259"/>
		<title type="html"><![CDATA[Re: example software host application compiler problem]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=4927&amp;p=16259#p16259"><![CDATA[
I 'm not sure what you mean when you write about the legacy .1. I 'm using the libusb-win32-bin-1.2.2.0 distribution. Should it perhaps be located in the MinGW directory, because that isn't the case right now?<br /><br />Koen.<p>Statistics: Posted by Guest — Sat Oct 16, 2010 5:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[jay.elle]]></name></author>
		<updated>2010-10-16T17:19:44+02:00</updated>

		<published>2010-10-16T17:19:44+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=4927&amp;p=16258#p16258</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=4927&amp;p=16258#p16258"/>
		<title type="html"><![CDATA[Re: example software host application compiler problem]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=4927&amp;p=16258#p16258"><![CDATA[
Are you using the legacy API(libusb .1)?  I had compile errors when i used the stable 1.0<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=4241">jay.elle</a> — Sat Oct 16, 2010 5:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2010-10-16T14:31:11+02:00</updated>

		<published>2010-10-16T14:31:11+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=4927&amp;p=16256#p16256</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=4927&amp;p=16256#p16256"/>
		<title type="html"><![CDATA[example software host application compiler problem]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=4927&amp;p=16256#p16256"><![CDATA[
Hi all,<br /><br />I have trouble compiling the host software on a 64 bit Windows 7 system.<br /><br />I downloaded MinGW installer package and installed it, I had to manualy add the path variable to be able to compile from a Programmers Notepad project. No problem there ...<br /><br />Then i received messages about not being able to find the usb.h file from the libusb-win32 download so I copied the header file from the ../include directory in to the ../commandline directory and changed the include statement from &lt;usb.h&gt; to &quot;usb.h&quot;. <br /><br />When I try to compile I get:<br /><div class="codebox"><p>Code: </p><pre><code>&gt; &quot;make.exe&quot; -f Makefile.windows<br />gcc -o set-led.exe opendevice.o set-led.o -L/MinGW/lib/libusb<br />opendevice.o: In function `usbGetStringAscii':<br />..\custom-class\commandline/opendevice.c:91: undefined reference to `usb_get_string_simple'<br />..\custom-class\commandline/opendevice.c:93: undefined reference to `usb_control_msg'<br />opendevice.o: In function `usbOpenDevice':<br />..\custom-class\commandline/opendevice.c:123: undefined reference to `usb_find_busses'<br />..\custom-class\commandline/opendevice.c:124: undefined reference to `usb_find_devices'<br />..\custom-class\commandline/opendevice.c:125: undefined reference to `usb_get_busses'<br />..\custom-class\commandline/opendevice.c:131: undefined reference to `usb_open'<br />..\custom-class\commandline/opendevice.c:135: undefined reference to `usb_strerror'<br />..\custom-class\commandline/opendevice.c:146: undefined reference to `usb_strerror'<br />..\custom-class\commandline/opendevice.c:158: undefined reference to `usb_strerror'<br />..\custom-class\commandline/opendevice.c:170: undefined reference to `usb_strerror'<br />..\custom-class\commandline/opendevice.c:187: undefined reference to `usb_close'<br />set-led.o: In function `main':<br />..\custom-class\commandline/set-led.c:49: undefined reference to `usb_init'<br />..\custom-class\commandline/set-led.c:88: undefined reference to `usb_control_msg'<br />..\custom-class\commandline/set-led.c:91: undefined reference to `usb_strerror'<br />..\custom-class\commandline/set-led.c:99: undefined reference to `usb_control_msg'<br />..\custom-class\commandline/set-led.c:101: undefined reference to `usb_strerror'<br />..\custom-class\commandline/set-led.c:136: undefined reference to `usb_close'<br />collect2: ld returned 1 exit status <br /></code></pre></div><br /><br />What am I doing wrong? Thanks for any input.<br /><br />Koen.<p>Statistics: Posted by Guest — Sat Oct 16, 2010 2:31 pm</p><hr />
]]></content>
	</entry>
	</feed>
