-
-
so ich bins nochmal. Also ich hab mich jetzt mal mit der asuro.c beschäftigt und geschaut wo oder wie sie eingebunden ist. Sie war nicht eingebunden. Beim Kompilieren allerdings bekomme ich jetzt allerdings andere Fehler und zwar diese(natürlich nach dem Einbinden von asuro.c):
C:\Asuro Programme\..\AsuroLib-v280rc1\lib\inc/asuro.h:426: warning: inline function 'StatusLED' declared but never defined
avr-gcc -I"C:\Asuro Programme\..\AsuroLib-v280rc1\lib\inc" -mmcu=atmega8 -Wall -gdwarf-2 -Os -std=gnu99 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -MD -MP -MT asuro.o -MF dep/asuro.o.d -c ../../AsuroLib-v280rc1/lib/asuro.c
../../AsuroLib-v280rc1/lib/asuro.c: In function 'Init':
../../AsuroLib-v280rc1/lib/asuro.c:145: error: 'F_CPU' undeclared (first use in this function)
../../AsuroLib-v280rc1/lib/asuro.c:145: error: (Each undeclared identifier is reported only once
../../AsuroLib-v280rc1/lib/asuro.c:145: error: for each function it appears in.)
../../AsuroLib-v280rc1/lib/asuro.c: At top level:
C:\Asuro Programme\..\AsuroLib-v280rc1\lib\inc/asuro.h:466: warning: inline function 'MyMotorSpeed' declared but never defined
C:\Asuro Programme\..\AsuroLib-v280rc1\lib\inc/asuro.h:457: warning: inline function 'MotorSpeed' declared but never defined
C:\Asuro Programme\..\AsuroLib-v280rc1\lib\inc/asuro.h:449: warning: inline function 'MotorDir' declared but never defined
C:\Asuro Programme\..\AsuroLib-v280rc1\lib\inc/asuro.h:432: warning: inline function 'FrontLED' declared but never defined
C:\Asuro Programme\..\AsuroLib-v280rc1\lib\inc/asuro.h:426: warning: inline function 'StatusLED' declared but never defined
make: *** [asuro.o] Error 1
Build failed with 3 errors and 15 warnings...
ist ja schon mal was anderes... jemand eine idee? Auch hier sind die slashes wieder anders zum Teil, aber ich hab keine Ahnung woher das kommt...
Berechtigungen
- Neue Themen erstellen: Nein
- Themen beantworten: Nein
- Anhänge hochladen: Nein
- Beiträge bearbeiten: Nein
-
Foren-Regeln
Lesezeichen