- fchao-Sinus-Wechselrichter AliExpress         
Ergebnis 1 bis 9 von 9

Thema: Asuroflash Problem

  1. #1
    Benutzer Stammmitglied
    Registriert seit
    30.07.2010
    Beiträge
    62

    Asuroflash Problem

    Anzeige

    Powerstation Test
    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

  2. #2
    Erfahrener Benutzer Roboter Genie Avatar von m.a.r.v.i.n
    Registriert seit
    24.07.2005
    Ort
    Berlin
    Beiträge
    1.247
    Es findet die make.exe nicht. Die Pfadangabe zu AF_AVRDIR stimmt wohl nicht. Dort sollte der Pfad zum WinAVR Verzeichnis stehen.

  3. #3
    Benutzer Stammmitglied
    Registriert seit
    30.07.2010
    Beiträge
    62
    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:
    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.
    Dazu unterstreit mir das Programm den #include <asuro.h> teil.

    Wie gehts jezt weiter?

  4. #4
    Erfahrener Benutzer Roboter-Spezialist
    Registriert seit
    07.07.2010
    Alter
    34
    Beiträge
    228
    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

  5. #5
    Benutzer Stammmitglied
    Registriert seit
    30.07.2010
    Beiträge
    62
    Soll ich einfach die Asuro.h aus der OrginalCD nehmen?

  6. #6
    Erfahrener Benutzer Roboter-Spezialist
    Registriert seit
    07.07.2010
    Alter
    34
    Beiträge
    228
    du sollst einfach das # include<asuro.h> auf #include "asuro.h" ändern ^^

  7. #7
    Benutzer Stammmitglied
    Registriert seit
    30.07.2010
    Beiträge
    62
    In dem Projektordner war gar kein asuro.h

  8. #8
    Erfahrener Benutzer Roboter-Spezialist
    Registriert seit
    07.07.2010
    Alter
    34
    Beiträge
    228
    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

  9. #9
    Benutzer Stammmitglied
    Registriert seit
    30.07.2010
    Beiträge
    62
    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

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •  

MultiPlus Wechselrichter Insel und Nulleinspeisung Conrad