Author Topic: error while rebuild all  (Read 616 times)

0 Members and 1 Guest are viewing this topic.

Offline aaa3aTopic starter

  • Full Member
  • ***
  • Posts: 48
  • Helpful? 1
error while rebuild all
« on: May 07, 2012, 12:26:12 PM »
i've created simple project for testing my axon with one servo motor using project designer and generated the project files then opened it in AVR and did rebuild all rebuild didn't completed and shows this msg
Build started 7.5.2012 at 19:59:45
avr-gcc -g -Wall -DF_CPU=16000000 -mmcu=atmega640 -gdwarf-2 -fpack-struct -fshort-enums  -funsigned-char -funsigned-bitfields -I"../../design tools/webbotlib v2"  -MD -MP -MT opt_pcint.o -MF dep/opt_pcint.o.d  -std=gnu99  -Os -c -o lib/opt_pcint.o lib/opt_
pcint.c

avr-gcc -g -Wall -DF_CPU=16000000 -mmcu=atmega640 -gdwarf-2 -fpack-struct -fshort-enums  -funsigned-char -funsigned-bitfields -I"../../design tools/webbotlib v2"  -MD -MP -MT opt_DeviceName.o -MF dep/opt_DeviceName.o.d  -std=gnu99  -Os -c -o lib/opt_Device
Name.o lib/opt_DeviceName.c

avr-gcc -g -Wall -DF_CPU=16000000 -mmcu=atmega640 -gdwarf-2 -fpack-struct -fshort-enums  -funsigned-char -funsigned-bitfields -I"../../design tools/webbotlib v2"  -MD -MP -MT opt_TimerOverflow.o -MF dep/opt_TimerOverflow.o.d  -std=gnu99  -Os -c -o lib/opt_
TimerOverflow.o lib/opt_TimerOverflow.c

avr-gcc -g -Wall -DF_CPU=16000000 -mmcu=atmega640 -gdwarf-2 -fpack-struct -fshort-enums  -funsigned-char -funsigned-bitfields -I"../../design tools/webbotlib v2"  -MD -MP -MT opt_scheduler.o -MF dep/opt_scheduler.o.d  -std=gnu99  -Os -c -o lib/opt_schedule
r.o lib/opt_scheduler.c

avr-gcc -g -Wall -DF_CPU=16000000 -mmcu=atmega640 -gdwarf-2 -fpack-struct -fshort-enums  -funsigned-char -funsigned-bitfields -I"../../design tools/webbotlib v2"  -MD -MP -MT opt_TimerCompare.o -MF dep/opt_TimerCompare.o.d  -std=gnu99  -Os -c -o lib/opt_Ti
merCompare.o lib/opt_TimerCompare.c

avr-gcc -g -Wall -DF_CPU=16000000 -mmcu=atmega640 -gdwarf-2 -fpack-struct -fshort-enums  -funsigned-char -funsigned-bitfields -I"../../design tools/webbotlib v2"  -MD -MP -MT opt_TimerCapture.o -MF dep/opt_TimerCapture.o.d  -std=gnu99  -Os -c -o lib/opt_Ti
merCapture.o lib/opt_TimerCapture.c

avr-ar -r lib/libPost.a lib/opt_pcint.o lib/opt_DeviceName.o lib/opt_TimerOverflow.o lib/opt_scheduler.o lib/opt_TimerCompare.o lib/opt_TimerCapture.o
avr-ar: creating lib/libPost.a
make: *** No rule to make target `../../design', needed by `servo.elf'.  Stop.
Build failed with 1 errors and 0 warnings...

i've attached my project files to check

i'm new in using axon and AVR so please make it simple to understand as you can

regards

Offline Webbot

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 2,152
  • Helpful? 110
Re: error while rebuild all
« Reply #1 on: May 07, 2012, 01:31:04 PM »
You are probably using an unsupported version of AVRStudio and/or the compiler.

You don't mention any of your setup
Webbot Home: http://webbot.org.uk/
WebbotLib online docs: http://webbot.org.uk/WebbotLibDocs
If your in the neighbourhood: http://www.hovinghamspa.co.uk

Offline aaa3aTopic starter

  • Full Member
  • ***
  • Posts: 48
  • Helpful? 1
Re: error while rebuild all
« Reply #2 on: May 07, 2012, 01:48:26 PM »
i'm using AVR 4.19 latest ver downloaded from the getting started link in the society of robot  and the webbotlib V2

from the same link in Axon II getting started

i've created d:\my_robot folder
and copy webbotlibv2 in it and run the project design from another folder created the project for axon and generate the files and used the webbotlibv2 folder and then opend servo.aps file with AVR studio then rebuild all that's all
« Last Edit: May 07, 2012, 02:51:16 PM by aaa3a »

Offline aaa3aTopic starter

  • Full Member
  • ***
  • Posts: 48
  • Helpful? 1
Re: error while rebuild all
« Reply #3 on: May 07, 2012, 06:29:56 PM »
problem solved

the reason was webbotlib v2 folder contains space

thanx

 


Get Your Ad Here