kannst du nicht viellcht probieren ob du ne .hex datei bekommst ? ...
ich habe jetzt nur bei optionen das WinAVR verzeichniss und das lib verzeichniss angegeben .. sonst nichts ... alles auf default gelassen , alle dateien ins projekt gespeichert .. trotzdem den fehler
Code:>Session Environment Variables: AF_AVRDIR=C:\WinAVR AF_PROJECT=Project1 AF_SOURCE_FILES=ChDeAsuro.c AF_ASM_SRC_FILES= AF_PRGDIR=C:\Programme\AsuroFlash AF_PRJDIR=C:\asuro AF_ASURO_LIB_PATH=C:\asuro\lib File ChDeAsuro.c saved. File Asuro.h saved. File follow_bib.h saved. >Default make_all.cmd file created. >Default makefile created. Make C:\asuro>C:\WinAVR\utils\bin\make.exe all set -e; avr-gcc -MM -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=ChDeAsuro.lst -IC:\Programme\AsuroFlash\include ChDeAsuro.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > ChDeAsuro.d; \ [ -s ChDeAsuro.d ] || rm -f ChDeAsuro.d -------- begin -------- avr-gcc --version avr-gcc (WinAVR 20080610) 4.3.0 Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. avr-gcc -c -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=ChDeAsuro.lst -IC:\Programme\AsuroFlash\include ChDeAsuro.c -o ChDeAsuro.o In file included from asuro.h:34, from ChDeAsuro.c:13: c:/winavr/lib/gcc/../../avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>." In file included from ChDeAsuro.c:14: follow_bib.h: In function 'setspeed': follow_bib.h:69: warning: implicit declaration of function 'Gettime' follow_bib.h: In function 'photosensoren_auslesen': follow_bib.h:210: error: 'LEFT' undeclared (first use in this function) follow_bib.h:210: error: (Each undeclared identifier is reported only once follow_bib.h:210: error: for each function it appears in.) follow_bib.h:211: error: 'RIGHT' undeclared (first use in this function) follow_bib.h: In function 'countTicks': follow_bib.h:279: warning: implicit declaration of function 'OdometryData' ChDeAsuro.c: In function 'followline': ChDeAsuro.c:160: error: 'LEFT' undeclared (first use in this function) ChDeAsuro.c:162: error: 'RIGHT' undeclared (first use in this function) ChDeAsuro.c:164: error: 'CENTER' undeclared (first use in this function) ChDeAsuro.c:285: warning: implicit declaration of function 'PrintInt' ChDeAsuro.c:286: warning: implicit declaration of function 'SerPrint' ChDeAsuro.c: In function 'main': ChDeAsuro.c:337: warning: implicit declaration of function 'Msleep' ChDeAsuro.c:338: error: 'LEFT' undeclared (first use in this function) ChDeAsuro.c:345: error: 'RIGHT' undeclared (first use in this function) make: *** [ChDeAsuro.o] Error 1 ExitCode 2







Zitieren

Lesezeichen