Software > Software
help regarding errors in avr studio 4
dv.phaneeswar:
THANK GOD.......
finally my program is executed with 0 errors and 0 warnings.....
THE TWO MISTAKES WHAT I DID:-------- :P
1). i have downloaded the libraries (which is 10 mb zip file) from sourceforge website and extracted the files to a new folder and saved it as "source file" i.e with a space between two words source and file. this is the reason why i am getting this error..
make: *** No rule to make target `../../SOURCE', needed by `vrbot4.elf'. Stop.
Build failed with 1 errors and 0 warnings...
so dont give the any gap for the project name or for the folders which you are incliding in the program....
2).from the begining i was copying the vr_library.h file in the folder where the webbotlib has generated the program and other files...but i forgot to copy the vr_module.h file in the 10 mb file which i had downloaded from sourceforge website, this small mistake generated a big error.....
/usr/bin/sh: IE:\programs\vrbot\..\..\Webbot\source files: command not found
make: [lib_iopins.o] Error 127 (ignored)
mmcu=atmega640 gen_clock.o lib_timers.o vrbot.o opt_TimerCapture.o lib_timerdef.o opt_TimerOverflow.o lib_hardware.o opt_pcint.o opt_TimerCompare.o opt_DeviceName.o lib_iopins.o -L"E:\Webbot\sourcefiles" -lWebbot-ATmega640 -lm -lc -o vrbot.elf
/usr/bin/sh: gen_clock.o: command not found
make: [vrbot.elf] Error 127 (ignored)
avr-objcopy -O ihex -R .eeprom -R .fuse -R .lock -R .signature vrbot.elf vrbot.hex
avr-objcopy: 'vrbot.elf': No such file
make: *** [vrbot.hex] Error 1
Build failed with 1 errors and 0 warnings...
so please remember these two things in mind while creating a project.........
Navigation
[0] Message Index
[*] Previous page
Go to full version