Gut danke, das tuts jezt schon mal.
Jezt hab ich den code:https://www.roboternetz.de/phpBB2/viewtopic.php?t=54276
eingefügt und auf makeall geklickt.
Jezt kommt diese Fehlermeldung:
Dazu unterstreit mir das Programm den #include <asuro.h> teil.Code:>Session Environment Variables: AF_AVRDIR=C:\Asuro\AsuroFlashPortable\Data\WinAVR AF_PROJECT=Project1 AF_SOURCE_FILES=new.c new.c AF_ASM_SRC_FILES= AF_PRGDIR=C:\Asuro\AsuroFlashPortable\Data AF_PRJDIR=C:\Asuro\AsuroFlashPortable\Projects AF_ASURO_LIB_PATH=%AllUsersProfile%\AsuroFlash\asuro-lib\lib File new.c saved. >Default make_all.cmd file created. >Default makefile created. Make C:\Asuro\AsuroFlashPortable\Projects>C:\Asuro\AsuroFlashPortable\Data\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=new.lst -IC:\Asuro\AsuroFlashPortable\Data\include new.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > new.d; \ [ -s new.d ] || rm -f new.d -------- begin -------- avr-gcc --version avr-gcc (WinAVR 20090313) 4.3.2 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=new.lst -IC:\Asuro\AsuroFlashPortable\Data\include new.c -o new.o new.c:1:53: error: asuro.h: No such file or directory new.c: In function 'main': new.c:4: error: expected declaration specifiers before 'Init' new.c:6: warning: implicit declaration of function 'Init' new.c:7: warning: implicit declaration of function 'MotorDir' new.c:7: error: 'FWD' undeclared (first use in this function) new.c:7: error: (Each undeclared identifier is reported only once new.c:7: error: for each function it appears in.) new.c:9: warning: implicit declaration of function 'Motorspeed' new.c:10: warning: implicit declaration of function 'Msleep' make: *** [new.o] Error 1 ExitCode 2 >Ready.
Wie gehts jezt weiter?![]()







Zitieren

Lesezeichen