 |
| Author |
Message |
|
|
Posted: Nov 07, 2011 - 09:12 PM |
|

Joined: Jan 16, 2007
Posts: 124
|
|
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!! |
|
|
| |
|
|
|
|
|
Posted: Nov 07, 2011 - 09:27 PM |
|


Joined: Jul 18, 2005
Posts: 62220
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? |
_________________
|
| |
|
|
|
|
|
Posted: Nov 07, 2011 - 09:47 PM |
|

Joined: Jan 16, 2007
Posts: 124
|
|
There blank, not pointing anywhere I guess
Where should I point them?
My installation directory is: C:\WinAVR-20100110
Thanks! |
|
|
| |
|
|
|
|
|
Posted: Nov 07, 2011 - 09:56 PM |
|


Joined: Jul 18, 2005
Posts: 62220
Location: (using avr-gcc in) Finchingfield, Essex, England
|
|
| Mine is in E: so I use: |
_________________
|
| |
|
|
|
|
|
Posted: Nov 07, 2011 - 10:07 PM |
|

Joined: Jan 16, 2007
Posts: 124
|
|
Seems to have worked!
Thanks very much! |
|
|
| |
|
|
|
|
|
|
|