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

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2010-12-26T01:41:53+02:00</updated>

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

		<entry>
		<author><name><![CDATA[BackWoodsBrewer]]></name></author>
		<updated>2010-12-26T01:41:53+02:00</updated>

		<published>2010-12-26T01:41:53+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=5290&amp;p=17130#p17130</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=5290&amp;p=17130#p17130"/>
		<title type="html"><![CDATA[Re: Noob needing compile help]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=5290&amp;p=17130#p17130"><![CDATA[
THANK YOU!!!<br /><br />I thought I was forced to modify/use the Makefile that came in the example.  After some more trial/error I got it to build! <img class="smilies" src="./../../../images/smilies/icon_biggrin.gif" alt=":D" title="Very Happy" /><br /><br />At first it was telling me &quot;No rule to make main.o from main.c or something, so I tried exporting Makefile and then set the project to use it and it worked!<br /><br />I greatly appreciate your &quot;teach a man to fish&quot; attitude as that is how I prefer to learn, just that I was having an impossible time with this.  Thank you so very much for your time and patience with me.  Merry Christmas! <img class="smilies" src="./../../../images/smilies/icon_biggrin.gif" alt=":D" title="Very Happy" /><p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=4745">BackWoodsBrewer</a> — Sun Dec 26, 2010 1:41 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[maxi]]></name></author>
		<updated>2010-12-25T23:39:00+02:00</updated>

		<published>2010-12-25T23:39:00+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=5290&amp;p=17129#p17129</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=5290&amp;p=17129#p17129"/>
		<title type="html"><![CDATA[Re: Noob needing compile help]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=5290&amp;p=17129#p17129"><![CDATA[
You do know that you can simply open MSYS, cd to the firmware directory and type 'make hex'? This is how the projects' makefiles were intended to work.<blockquote><div><cite>readme wrote:</cite>Please note that the first &quot;make hex&quot; copies the driver from the top level into the firmware directory. If you use a different build system than our Makefile, you must copy the driver by hand.</div></blockquote><br />Also, to use an external makefile with avr-studio the following criteria must be met<blockquote><div><cite>avr-studio wrote:</cite>1. Target name must equal project name.<br />2. Clean/rebuild support requires  &quot;clean&quot; target.<br />3. Makefile and target must exist in the same folder</div></blockquote><br />In short, if you want to use avr-studio then you're probably best <strong class="text-strong">not</strong> using the external makefile (as is) and just select a target device and F_CPU under config options.<br /><br />If you are still truly stuck then I guess I could make a .aps for you, though it would not be using the existing makefile so you'll have to specify a target etc and ofcourse tell me <em class="text-italics">where</em> I can post it. Much better if you could get this working yourself, teach a man to fish an' all that <img class="smilies" src="./../../../images/smilies/icon_wink.gif" alt=";)" title="Wink" /><br /><br />Merry Xmas!<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=2570">maxi</a> — Sat Dec 25, 2010 11:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[BackWoodsBrewer]]></name></author>
		<updated>2010-12-25T22:33:51+02:00</updated>

		<published>2010-12-25T22:33:51+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=5290&amp;p=17127#p17127</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=5290&amp;p=17127#p17127"/>
		<title type="html"><![CDATA[Re: Noob needing compile help]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=5290&amp;p=17127#p17127"><![CDATA[
Thank you for the cdc example project.  It builds fine so I know the problem isn't my toolchain.  I have tried different setups but I am mainly getting an error about main.elf not found.  I hate to bother anyone, but if someone has the time, could you post an AVR Studio 4 project file with a working HID Mouse example so I can see what I am missing?<br /><br />Thank you all so very much and MERRY CHRISTMAS!<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=4745">BackWoodsBrewer</a> — Sat Dec 25, 2010 10:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alan Chatham]]></name></author>
		<updated>2010-12-23T20:14:00+02:00</updated>

		<published>2010-12-23T20:14:00+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=5290&amp;p=17120#p17120</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=5290&amp;p=17120#p17120"/>
		<title type="html"><![CDATA[Re: Noob needing compile help]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=5290&amp;p=17120#p17120"><![CDATA[
Yeahhhh.... It's a path issue.  The other way is to move all the usb-related files into the usbdrv file, then look at the main file and adjust the #include &quot;file.h&quot;'s to #include &quot;usbdrv/file.h&quot;.  Yeah, it's a huge pain to figure out if you've not worked with this stuff before...<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=2888">Alan Chatham</a> — Thu Dec 23, 2010 8:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[maxi]]></name></author>
		<updated>2010-12-21T21:22:01+02:00</updated>

		<published>2010-12-21T21:22:01+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=5290&amp;p=17105#p17105</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=5290&amp;p=17105#p17105"/>
		<title type="html"><![CDATA[Re: Noob needing compile help]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=5290&amp;p=17105#p17105"><![CDATA[
Sounds like you are not adding the necessary paths to include directories. Go into configuration options and add the path to usbdrv along with ./ &amp; ../(the current directory and parent). If you're still stuck then why not take a look at the avr-cdc project as it comes with avr studio project files included.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=2570">maxi</a> — Tue Dec 21, 2010 9:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[BackWoodsBrewer]]></name></author>
		<updated>2010-12-21T03:43:30+02:00</updated>

		<published>2010-12-21T03:43:30+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=5290&amp;p=17093#p17093</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=5290&amp;p=17093#p17093"/>
		<title type="html"><![CDATA[Re: Noob needing compile help]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=5290&amp;p=17093#p17093"><![CDATA[
<blockquote><div><cite>maxi wrote:</cite><blockquote><div><cite>BackWoodsBrewer wrote:</cite>I just cannot get it to build.</div></blockquote><br /><br />What error messages did you get?</div></blockquote><br /><br />Well, all sorts just depending on how I setup the project, so first thing I need to know is <span style="text-decoration: underline">how to create a new project <strong class="text-strong">&quot;correctly&quot;</strong></span>.<br /><br />When I use the project wizard, it will create a new directory with the name of the project.  So if I try to make it in the &quot;hid-mouse\firmware&quot; directory I'll have something like hid-mouse\firmware\myproject&quot;.  The makefile looks like it goes up three directories then copies the usbdrv folder to the working directory.  I have tried making sure my project folder is three levels deep from the vusb folder or changing the makefile to go up four folders in such a case.  I can copy the contents of the usbdrv folder to the project directory and it will compile, just not build.<br /><br />I know this probably sounds like an idiotic question, but like I said I have very little experience with C/C++ but am learning.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=4745">BackWoodsBrewer</a> — Tue Dec 21, 2010 3:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[maxi]]></name></author>
		<updated>2010-12-21T00:31:04+02:00</updated>

		<published>2010-12-21T00:31:04+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=5290&amp;p=17090#p17090</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=5290&amp;p=17090#p17090"/>
		<title type="html"><![CDATA[Re: Noob needing compile help]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=5290&amp;p=17090#p17090"><![CDATA[
<blockquote><div><cite>BackWoodsBrewer wrote:</cite>I just cannot get it to build.</div></blockquote><br /><br />What error messages did you get?<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=2570">maxi</a> — Tue Dec 21, 2010 12:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[BackWoodsBrewer]]></name></author>
		<updated>2010-12-20T23:41:47+02:00</updated>

		<published>2010-12-20T23:41:47+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=5290&amp;p=17087#p17087</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=5290&amp;p=17087#p17087"/>
		<title type="html"><![CDATA[Noob needing compile help]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=5290&amp;p=17087#p17087"><![CDATA[
Hi all, I've been learning about AVR's and having a lot of fun with them, however I am very new to C++ and having a time getting any of the example projects to build.  I've edited the Makefile as recommended (I think).  When using AVR Studio 4 I just cannot get it to build.  Here's what I've been trying:<br /><br />1) set project to use external makefile<br />2) adding external paths, headers, libraries, kitchen sinks to the project properties option<br />3) searching google and staring at screen hoping it will help some (no avail)<br /><br />If anyone could help me get setup to do a successful build I'd die a very happy man <img class="smilies" src="./../../../images/smilies/icon_biggrin.gif" alt=":D" title="Very Happy" /><br /><br />Thanks for your time!<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=4745">BackWoodsBrewer</a> — Mon Dec 20, 2010 11:41 pm</p><hr />
]]></content>
	</entry>
	</feed>
