Es findet die make.exe nicht. Die Pfadangabe zu AF_AVRDIR stimmt wohl nicht. Dort sollte der Pfad zum WinAVR Verzeichnis stehen.
Hallo
Ich bekomme ständeig bwenn ich F9 drücke diese Meldung:
>Session Environment Variables:
AF_AVRDIR=C:\Asuro\AsuroFlashPortable\Data\AsuroLi brary\dep
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\asu ro-lib\lib
File new.c saved.
>Default make_all.cmd file created.
>Default makefile created.
Make
C:\Asuro\AsuroFlashPortable\Projects>C:\Asuro\Asur oFlashPortable\Data\AsuroLibrary\dep\utils\bin\mak e.exe all
Das System kann den angegebenen Pfad nicht finden.
ExitCode 1
>Ready.
Was mache ich flasch?
Welche Datei möchte das System wo finden?
MfG
Kimba
Es findet die make.exe nicht. Die Pfadangabe zu AF_AVRDIR stimmt wohl nicht. Dort sollte der Pfad zum WinAVR Verzeichnis stehen.
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?![]()
Hast du die asuro.h im projektordner? ansonsten versuchs mal mit "asuro.h" statts <asuro.h>
Müsste dann klappen wenn die pfade zu den libs stimmen
Soll ich einfach die Asuro.h aus der OrginalCD nehmen?
du sollst einfach das # include<asuro.h> auf #include "asuro.h" ändern ^^
In dem Projektordner war gar kein asuro.h
muss auch nicht wenn du #include "asuro.h" machst
<asuro.h> - Die Datei "asuro.h" wird nur im Projektordner gesucht
"asuro.h" - Die Datei "asuro.h" wird auch außerhalb des Projektordners gesucht
Achso danke (=
So jezt kommt diese Meldung:
>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\asu ro-lib\lib
File new.c saved.
>Default make_all.cmd file created.
>Default makefile created.
Make
-------- 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.
C:\Asuro\AsuroFlashPortable\Projects>C:\Asuro\Asur oFlashPortable\Data\WinAVR\utils\bin\make.exe all
ExitCode 2
Lesezeichen