go away spammer

Author Topic: Utter noob with problems  (Read 2096 times)

0 Members and 1 Guest are viewing this topic.

Offline Dmntd1Topic starter

  • Jr. Member
  • **
  • Posts: 23
  • Helpful? 1
Utter noob with problems
« on: February 11, 2009, 10:23:42 PM »
Alright, the Axon uC is on the way, and I'm about as familiar with C# as I am with Greek. Not in the least! I'd almost rather have Java or VB...

I've followed the guides, but when I try to make my own program, I can't seem to get a final nothing of a program to build. The error I get, which will probably have a 'beat my head against the wall' obvious answer is:

make: *** No rule to make target `axon.elf', needed by `elf'.  Stop.

Before that, I got tons of errors, and copied the photovore_v1 makefile to get rid of them. Now, I get that one.

Is there something completely stupid that I am, or am not, doing? My program isn't even trying to control anything, just initialize and compile...

Any hints and helps? Thanks in advance!

AJP

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: Utter noob with problems
« Reply #1 on: February 11, 2009, 11:45:23 PM »
It sounds like you named your folders wrong. For example, you need to name your main folder with the same name as the initial .c file.

the folder, Axon, the initial file, Axon.c

Its a very common question here.

Offline Dmntd1Topic starter

  • Jr. Member
  • **
  • Posts: 23
  • Helpful? 1
Re: Utter noob with problems
« Reply #2 on: February 12, 2009, 12:10:40 AM »
That was my first thought. I double checked, even tried changing all sorts of things, and still get that message. The path to my .c is:

C:\Users\*****\Documents\axon\axon.c

I've also tried:

C:\axon\axon.c

Am I missing something here? 

Offline Dmntd1Topic starter

  • Jr. Member
  • **
  • Posts: 23
  • Helpful? 1
Re: Utter noob with problems
« Reply #3 on: February 12, 2009, 12:13:03 AM »
Oh yeah, and it's a different error now....

c:/winavr-20081205/bin/../lib/gcc/avr/4.3.2/../../../../avr/bin/ld.exe: unknown architecture of input file `c:/winavr-20081205/bin/../lib/gcc/avr/4.3.2/../../../../avr/lib/avr5/crtm640.o' is incompatible with avr:5 output
make: *** [Axon.elf] Error 1


Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: Utter noob with problems
« Reply #4 on: February 12, 2009, 12:19:20 AM »
Hmmmm that's an error I've never seen before . . .

Try just starting over from the beginning, rewriting and reinstalling over everything. You missed a step somewhere . . .

Just checking, did you do step 7 right?
http://www.societyofrobots.com/axon/axon_getting_started_software.shtml


Oh, and the photovore makefile won't work for the Axon.

Offline Dmntd1Topic starter

  • Jr. Member
  • **
  • Posts: 23
  • Helpful? 1
Re: Utter noob with problems
« Reply #5 on: February 12, 2009, 12:44:44 AM »
I told you it would be a bang my head against the desk error, right? I had forgotten step seven the first time I tried to build-all, and it made the makefile in the default folder. I reset it to the original makefile, not in the default, and it compiled. I'm thinking I'm going to have to re-do it somewhere else, to compare the two makefiles, just for the torture of it.

It seems that C# is pretty close to the other languages that I've dealt with, so here's to a fun time experimenting with your controller. Thanks for the help, I'm sure I'll be posting a robot or two eventually!

AJP

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: Utter noob with problems
« Reply #6 on: February 12, 2009, 12:47:40 AM »
lol

Oh and its not C#, its just C :P

Most modern languages borrowed quite a lot from C, and its still the most used programming language of today. Definitely worth learning!

 


Get Your Ad Here