Society of Robots - Robot Forum
Software => Software => Topic started by: HDL_CinC_Dragon on October 25, 2007, 01:33:11 PM
-
I downloaded the "$50 Robot with Sharp IR v1.zip" file and unzipped it to its own folder called "50SharpIRRobotSource". I uploaded all the .c files into the Source Files part of AVR Studio and all the .h files into the Header Files part of AVR Studio. I did the Project>Config Options>Use external make file checked>Browsed and selected it. Now im supposed to go to Build>Build and its supposed to be happy and say build successful etc etc
But it doesnt. this is what I get instead:
(http://img225.imageshack.us/img225/4474/builderroryl9.th.jpg) (http://img225.imageshack.us/my.php?image=builderroryl9.jpg)
Heres my files in AVR Studio:
(http://img233.imageshack.us/img233/2743/50robotfilesxw5.th.jpg) (http://img233.imageshack.us/my.php?image=50robotfilesxw5.jpg)
I cant figure out why or what im supposed to do... can anyone tell me please?
-
Hmmmmm I cant figure out why it did that . . .
It compiles fine here . . . maybe I uploaded a bad version or something?
Anyway, I uploaded my code again so just redownload and retry:
http://www.societyofrobots.com/downloads/robot_source_50_sharpIR_v1.zip
Let me know how it goes.
-
Still bein' a butt :(
In the makefile, it says:
"## Compile
Mobot_2007_v1.o: ../Mobot_2007_v1.c
$(CC) $(INCLUDES) $(CFLAGS) -c $<"
Is this asking for Mobot_2007_v1.c or is it creating it? Because ive only got the .o file of that name in the default folder....
-EDIT-
perhaps if I change the name of my project to Mobot_2007_v1 it will work?
-
hmmmm are you sure you are using the right makefile?
(AVR Studio does not default to the makefile in your folder)
click project->configuration options
check use external makefile, and then browse for it.
-
Upon further review I have ruled the following:
I am a dumbass
I was taking the make file from: C:\My_Robots\50SharpIPRobotSource\default\Makefile
when I should have been taking it from: C:\My_Robots\50SharpIPRobotSource\Makefile
I compiled it without a problem now :-\. Thanks for the help
P.S. why is that other makefile there anyway? lol