PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Asuroflash Problem



Kimba
18.08.2010, 12:00
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\AsuroFlashPortable\Data\AsuroLibrary\dep\ utils\bin\make.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

m.a.r.v.i.n
18.08.2010, 13:31
Es findet die make.exe nicht. Die Pfadangabe zu AF_AVRDIR stimmt wohl nicht. Dort sollte der Pfad zum WinAVR Verzeichnis stehen.

Kimba
18.08.2010, 17:14
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:

>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
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.

Dazu unterstreit mir das Programm den #include <asuro.h> teil.

Wie gehts jezt weiter? ](*,)

Ezalo
18.08.2010, 17:44
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

Kimba
18.08.2010, 17:51
Soll ich einfach die Asuro.h aus der OrginalCD nehmen?

Ezalo
18.08.2010, 17:53
du sollst einfach das # include<asuro.h> auf #include "asuro.h" ändern ^^

Kimba
18.08.2010, 18:05
In dem Projektordner war gar kein asuro.h

Ezalo
18.08.2010, 18:22
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

Kimba
18.08.2010, 18:32
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\AsuroFlashPortable\Data\WinAVR\utils\bin\ make.exe all

ExitCode 2