PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Make all Notepad Robby Example



mrsmith
20.10.2008, 19:05
Das kommt wenn ich die dazei ausführe

> "c:\dokumente und einstellungen\xxxxxxx\desktop\rp6examples_20070811 \rp6base_examples\Example_01_LEDs\\make_all.bat"

c:\dokumente und einstellungen\xxxx xxxx\desktop\rp6examples_20070811\rp6base_examples \Example_01_LEDs>set LANG=C

c:\dokumente und einstellungen\xxxxxxx\desktop\rp6examples_20070811 \rp6base_examples\Example_01_LEDs>make all
Der Befehl "make" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.

> Process Exit Code: 1
> Time Taken: 00:00

Falsch ich habe das beispielprogramm genommen und den befehl make all ausgeführt kommt das


Prorammers Notepad....

mrsmith
20.10.2008, 20:32
Ok soweit sogut habe es jetzt geschaft
jetzt wollte ich mein erstes einfaches programm schreiben



#include "RP6RobotBaseLib.h"




int main(void)
{


writeString_P("\n\n _______________________\n");
writeString_P(" \\| RP6 ROBOT SYSTEM |/\n");
writeString_P(" \\_-_-_-_-_-_-_-_-_-_/\n\n");


while(true)
{

setLEDs(0b0000);
setLeds(0b0000);





}

return 0;
}

dann gibt mir das proramm diesen fehler aus

> "C:\Dokumente und Einstellungen\\Desktop\RP6Examples_20070811\RP6BAS E_EXAMPLES\Example_01_LEDs\\make_all.bat"

C:\Dokumente und Einstellungen\\Desktop\RP6Examples_20070811\RP6BAS E_EXAMPLES\Example_01_LEDs>set LANG=C

C:\Dokumente und Einstellungen\\Desktop\RP6Examples_20070811\RP6BAS E_EXAMPLES\Example_01_LEDs>make all

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


Compiling: RP6Base_LEDs.c
avr-gcc -c -mmcu=atmega32 -I. -gdwarf-2 -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=RP6Base_LEDs.lst -I../../RP6Lib -I../../RP6Lib/RP6base -I../../RP6Lib/RP6common -std=gnu99 -MD -MP -MF .dep/RP6Base_LEDs.o.d RP6Base_LEDs.c -o RP6Base_LEDs.o
RP6Base_LEDs.c: In function 'main':
RP6Base_LEDs.c:22: warning: implicit declaration of function 'setLeds'

Linking: RP6Base_LEDs.elf
avr-gcc -mmcu=atmega32 -I. -gdwarf-2 -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=RP6Base_LEDs.o -I../../RP6Lib -I../../RP6Lib/RP6base -I../../RP6Lib/RP6common -std=gnu99 -MD -MP -MF .dep/RP6Base_LEDs.elf.d RP6Base_LEDs.o ../../RP6Lib/RP6base/RP6RobotBaseLib.o ../../RP6Lib/RP6common/RP6uart.o --output RP6Base_LEDs.elf -Wl,-Map=RP6Base_LEDs.map,--cref -lm
RP6Base_LEDs.o: In function `main':
C:\Dokumente und Einstellungen\Maxi Zuleger\Desktop\RP6Examples_20070811\RP6BASE_EXAMP LES\Example_01_LEDs/RP6Base_LEDs.c:21: undefined reference to `setLEDs'
C:\Dokumente und Einstellungen\\Desktop\RP6Examples_20070811\RP6BAS E_EXAMPLES\Example_01_LEDs/RP6Base_LEDs.c:22: undefined reference to `setLeds'
make: *** [RP6Base_LEDs.elf] Error 1

> Process Exit Code: 2
> Time Taken: 00:02

was muss ich ändern


ok habe mir selber geholfen

DSie Lösund einfach alle updates die es gibt herunterladen funzt trozdem thx


habe die fehler gefunden