Forum Menu




 


Log in Problems?
New User? Sign Up!
AVR Freaks Forum Index

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
dbrateris
PostPosted: Nov 07, 2011 - 09:12 PM
Hangaround


Joined: Jan 16, 2007
Posts: 131


Hi All,

I was having a lot of problems with AVR Studio 5 so I decided to downgrade to good old AVR Studio 4.

I have been trying for hours to get it to compile with WinAVR and having no luck.

This is the error I get when I try to compile:


Code:
rm -rf FlameControl.o  FlameControl.elf dep/* FlameControl.hex FlameControl.eep
Build succeeded with 0 Warnings...
mmcu=atmega32a -Wall -gdwarf-2 -std=gnu99       -DF_CPU=16000000UL -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -MD -MP -MT FlameControl.o -MF dep/FlameControl.o.d  -c  ../FlameControl.c
/usr/bin/sh: -Wall: command not found
make: [FlameControl.o] Error 127 (ignored)
mmcu=atmega32a  FlameControl.o     -o FlameControl.elf
/usr/bin/sh: FlameControl.o: command not found
make: [FlameControl.elf] Error 127 (ignored)
avr-objcopy -O ihex -R .eeprom -R .fuse -R .lock -R .signature  FlameControl.elf FlameControl.hex
avr-objcopy: 'FlameControl.elf': No such file
make: *** [FlameControl.hex] Error 1
Build failed with 1 errors and 0 warnings...



Running a fully updated copy of Windows 7 Professional

Any help would be very appreciated,
Thank you all very much!!
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
clawson
PostPosted: Nov 07, 2011 - 09:27 PM
10k+ Postman


Joined: Jul 18, 2005
Posts: 71231
Location: (using avr-gcc in) Finchingfield, Essex, England

Quote:

mmcu=atmega32a -Wall -gdwarf-2 -std=gnu99 -DF_CPU=16000000UL -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -MD -MP -MT FlameControl.o -MF dep/FlameControl.o.d -c ../FlameControl.c

That line is supposed to have an avr-gcc.exe on the front of it. Under "Custom Options" in the Project configuration where are the entries for "avr-gcc" and "make" pointing?

_________________
 
 View user's profile Send private message  
Reply with quote Back to top
dbrateris
PostPosted: Nov 07, 2011 - 09:47 PM
Hangaround


Joined: Jan 16, 2007
Posts: 131


There blank, not pointing anywhere I guess

Where should I point them?
My installation directory is: C:\WinAVR-20100110

Thanks!
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
clawson
PostPosted: Nov 07, 2011 - 09:56 PM
10k+ Postman


Joined: Jul 18, 2005
Posts: 71231
Location: (using avr-gcc in) Finchingfield, Essex, England

Mine is in E: so I use:

_________________
 
 View user's profile Send private message  
Reply with quote Back to top
dbrateris
PostPosted: Nov 07, 2011 - 10:07 PM
Hangaround


Joined: Jan 16, 2007
Posts: 131


Seems to have worked!

Thanks very much!
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2006 The PNphpBB Group
Credits