Can't Get Fresh Install of AVRStudio 4 / WinAVR to Compile

Last post
5 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

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:

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!!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

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?

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

There blank, not pointing anywhere I guess

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

Thanks!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Mine is in E: so I use:

Attachment(s): 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Seems to have worked!

Thanks very much!