Error in ct-Bot 1st_init.S (Mac)

Die Programmierung des c't-Bot
Antworten
TheFlyer85

Error in ct-Bot 1st_init.S (Mac)

Beitrag von TheFlyer85 » 30 Apr 2010, 16:29

Hallo Zusammen,
auch ich habe vor, mich mit dem c't-Bot etwas näher zu beschäftigen.

Wie in der Installationsanleitung von Heise abgegeben, habe ich ct-Bot und ct-Sim mit dem Link:
https://www.heise.de:444/svn/ctbot
importiert. (Jeweils vom Ordner "stable")

Ich verwende:
Debug-Mac
Current toolchain: MacOSX GCC
Current builder: Gnu Make Builder
Mac OS X 10.6.3 Snow Leopard 64bit
Eclipse Mac Cocoa 64bit
XCode

Beim Build-Vorgang von dem Projekt ct-Bot bekomme ich immer einen Fehler in 1st_init.S, siehe angehängtes Bild.


Kann mir jemand sagen, woran dies liegen könnte und wie ich diesen Fehler behebe?

Vielen Dank schonmal im Voraus

PS.: Das grundsätzliche Compilieren von einem C-Programm (Hello World - Beispielprojekt) in Eclipse funktioniert.

Mit freundlichen Grüßen
Marcus
Dateianhänge
Fehlermeldung
Fehlermeldung

eax
Friends of Robby
Friends of Robby
Beiträge: 755
Registriert: 18 Jan 2006, 16:16
Wohnort: Karlsruhe

Beitrag von eax » 01 Mai 2010, 18:51

Hi Marcus,

das sieht so aus, als ob die Datei 1st_init.S mit as anstatt mit gcc verarbeitet wird. Ich vermute, dass die Einstellung der Dateizuordnungen, die eigentlich im Projekt richtig hinterlegt sind, nicht greifen - zumindest hat meine Eclipse Version (3.6M7 Cocoa64) da einen ähnlichen Bug. :roll:

Könntest du bitte mal Project->Clean aufrufen und dann die komplette Ausgabe aus dem Fenster Console (unten) hier posten?

Schöne Grüße,
Timo

TheFlyer85

Beitrag von TheFlyer85 » 03 Mai 2010, 19:50

Hallo Timo,
danke dass du dich meiner, bzw. meines Problems annimmst. Ich weis langsam echt nichtmehr an welchem Rad ich noch drehen soll.

Hier die Ausgabe der Console:


**** Build of configuration Debug-Mac for project ct-Bot ****

make -j all
Building file: ../1st_init.S
Building file: ../bot-2-bot.c
Building file: ../command.c
Invoking: GCC C Compiler
gcc -DPC -I/Users/marcusehlert/Documents/workspace/ct-Bot -I/Users/marcusehlert/Documents/workspace/ct-Bot/include -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"bot-2-bot.d" -MT"bot-2-bot.d" -o"bot-2-bot.o" "../bot-2-bot.c"
Invoking: GCC C Compiler
gcc -DPC -I/Users/marcusehlert/Documents/workspace/ct-Bot -I/Users/marcusehlert/Documents/workspace/ct-Bot/include -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"command.d" -MT"command.d" -o"command.o" "../command.c"
Invoking: GCC Assembler
as -o"1st_init.o" "../1st_init.S"
Building file: ../ct-Bot.c
Invoking: GCC C Compiler
gcc -DPC -I/Users/marcusehlert/Documents/workspace/ct-Bot -I/Users/marcusehlert/Documents/workspace/ct-Bot/include -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"ct-Bot.d" -MT"ct-Bot.d" -o"ct-Bot.o" "../ct-Bot.c"
Building file: ../fifo.c
Building file: ../log.c
Invoking: GCC C Compiler
gcc -DPC -I/Users/marcusehlert/Documents/workspace/ct-Bot -I/Users/marcusehlert/Documents/workspace/ct-Bot/include -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"fifo.d" -MT"fifo.d" -o"fifo.o" "../fifo.c"
Invoking: GCC C Compiler
gcc -DPC -I/Users/marcusehlert/Documents/workspace/ct-Bot -I/Users/marcusehlert/Documents/workspace/ct-Bot/include -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"log.d" -MT"log.d" -o"log.o" "../log.c"
Building file: ../map.c
Invoking: GCC C Compiler
Building file: ../math_utils.c
Invoking: GCC C Compiler
gcc -DPC -I/Users/marcusehlert/Documents/workspace/ct-Bot -I/Users/marcusehlert/Documents/workspace/ct-Bot/include -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"math_utils.d" -MT"math_utils.d" -o"math_utils.o" "../math_utils.c"
gcc -DPC -I/Users/marcusehlert/Documents/workspace/ct-Bot -I/Users/marcusehlert/Documents/workspace/ct-Bot/include -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"map.d" -MT"map.d" -o"map.o" "../map.c"
Building file: ../mmc-vm.c
Invoking: GCC C Compiler
gcc -DPC -I/Users/marcusehlert/Documents/workspace/ct-Bot -I/Users/marcusehlert/Documents/workspace/ct-Bot/include -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"mmc-vm.d" -MT"mmc-vm.d" -o"mmc-vm.o" "../mmc-vm.c"
Building file: ../motor.c
Invoking: GCC C Compiler
gcc -DPC -I/Users/marcusehlert/Documents/workspace/ct-Bot -I/Users/marcusehlert/Documents/workspace/ct-Bot/include -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"motor.d" -MT"motor.d" -o"motor.o" "../motor.c"
Building file: ../pos_store.c
Building file: ../sensor.c
Invoking: GCC C Compiler
gcc -DPC -I/Users/marcusehlert/Documents/workspace/ct-Bot -I/Users/marcusehlert/Documents/workspace/ct-Bot/include -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"pos_store.d" -MT"pos_store.d" -o"pos_store.o" "../pos_store.c"
Invoking: GCC C Compiler
gcc -DPC -I/Users/marcusehlert/Documents/workspace/ct-Bot -I/Users/marcusehlert/Documents/workspace/ct-Bot/include -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"sensor.d" -MT"sensor.d" -o"sensor.o" "../sensor.c"
Building file: ../timer.c
Invoking: GCC C Compiler
Building file: ../ui/gui.c
Invoking: GCC C Compiler
gcc -DPC -I/Users/marcusehlert/Documents/workspace/ct-Bot -I/Users/marcusehlert/Documents/workspace/ct-Bot/include -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"ui/gui.d" -MT"ui/gui.d" -o"ui/gui.o" "../ui/gui.c"
gcc -DPC -I/Users/marcusehlert/Documents/workspace/ct-Bot -I/Users/marcusehlert/Documents/workspace/ct-Bot/include -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"timer.d" -MT"timer.d" -o"timer.o" "../timer.c"
Building file: ../ui/misc.c
Invoking: GCC C Compiler
gcc -DPC -I/Users/marcusehlert/Documents/workspace/ct-Bot -I/Users/marcusehlert/Documents/workspace/ct-Bot/include -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"ui/misc.d" -MT"ui/misc.d" -o"ui/misc.o" "../ui/misc.c"
Building file: ../ui/rc5.c
Invoking: GCC C Compiler
gcc -DPC -I/Users/marcusehlert/Documents/workspace/ct-Bot -I/Users/marcusehlert/Documents/workspace/ct-Bot/include -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"ui/rc5.d" -MT"ui/rc5.d" -o"ui/rc5.o" "../ui/rc5.c"
Building file: ../pc/bot-2-sim_pc.c
Invoking: GCC C Compiler
gcc -DPC -I/Users/marcusehlert/Documents/workspace/ct-Bot -I/Users/marcusehlert/Documents/workspace/ct-Bot/include -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"pc/bot-2-sim_pc.d" -MT"pc/bot-2-sim_pc.d" -o"pc/bot-2-sim_pc.o" "../pc/bot-2-sim_pc.c"
Building file: ../pc/cmd-tools_pc.c
Invoking: GCC C Compiler
Building file: ../pc/delay_pc.c
Invoking: GCC C Compiler
gcc -DPC -I/Users/marcusehlert/Documents/workspace/ct-Bot -I/Users/marcusehlert/Documents/workspace/ct-Bot/include -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"pc/delay_pc.d" -MT"pc/delay_pc.d" -o"pc/delay_pc.o" "../pc/delay_pc.c"
gcc -DPC -I/Users/marcusehlert/Documents/workspace/ct-Bot -I/Users/marcusehlert/Documents/workspace/ct-Bot/include -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"pc/cmd-tools_pc.d" -MT"pc/cmd-tools_pc.d" -o"pc/cmd-tools_pc.o" "../pc/cmd-tools_pc.c"
Building file: ../pc/display_pc.c
Invoking: GCC C Compiler
gcc -DPC -I/Users/marcusehlert/Documents/workspace/ct-Bot -I/Users/marcusehlert/Documents/workspace/ct-Bot/include -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"pc/display_pc.d" -MT"pc/display_pc.d" -o"pc/display_pc.o" "../pc/display_pc.c"
Building file: ../pc/eeprom_pc.c
Invoking: GCC C Compiler
gcc -DPC -I/Users/marcusehlert/Documents/workspace/ct-Bot -I/Users/marcusehlert/Documents/workspace/ct-Bot/include -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"pc/eeprom_pc.d" -MT"pc/eeprom_pc.d" -o"pc/eeprom_pc.o" "../pc/eeprom_pc.c"
Building file: ../pc/ir-rc5_pc.c
Invoking: GCC C Compiler
gcc -DPC -I/Users/marcusehlert/Documents/workspace/ct-Bot -I/Users/marcusehlert/Documents/workspace/ct-Bot/include -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"pc/ir-rc5_pc.d" -MT"pc/ir-rc5_pc.d" -o"pc/ir-rc5_pc.o" "../pc/ir-rc5_pc.c"
Building file: ../pc/led_pc.c
Invoking: GCC C Compiler
gcc -DPC -I/Users/marcusehlert/Documents/workspace/ct-Bot -I/Users/marcusehlert/Documents/workspace/ct-Bot/include -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"pc/led_pc.d" -MT"pc/led_pc.d" -o"pc/led_pc.o" "../pc/led_pc.c"
Building file: ../pc/mini-fat.c
Invoking: GCC C Compiler
gcc -DPC -I/Users/marcusehlert/Documents/workspace/ct-Bot -I/Users/marcusehlert/Documents/workspace/ct-Bot/include -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"pc/mini-fat.d" -MT"pc/mini-fat.d" -o"pc/mini-fat.o" "../pc/mini-fat.c"
Building file: ../pc/mmc-emu_pc.c
Invoking: GCC C Compiler
gcc -DPC -I/Users/marcusehlert/Documents/workspace/ct-Bot -I/Users/marcusehlert/Documents/workspace/ct-Bot/include -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"pc/mmc-emu_pc.d" -MT"pc/mmc-emu_pc.d" -o"pc/mmc-emu_pc.o" "../pc/mmc-emu_pc.c"
Building file: ../pc/motor-low_pc.c
Invoking: GCC C Compiler
gcc -DPC -I/Users/marcusehlert/Documents/workspace/ct-Bot -I/Users/marcusehlert/Documents/workspace/ct-Bot/include -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"pc/motor-low_pc.d" -MT"pc/motor-low_pc.d" -o"pc/motor-low_pc.o" "../pc/motor-low_pc.c"
Building file: ../pc/mouse_pc.c
Invoking: GCC C Compiler
gcc -DPC -I/Users/marcusehlert/Documents/workspace/ct-Bot -I/Users/marcusehlert/Documents/workspace/ct-Bot/include -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"pc/mouse_pc.d" -MT"pc/mouse_pc.d" -o"pc/mouse_pc.o" "../pc/mouse_pc.c"
Building file: ../pc/os_thread_pc.c
Invoking: GCC C Compiler
gcc -DPC -I/Users/marcusehlert/Documents/workspace/ct-Bot -I/Users/marcusehlert/Documents/workspace/ct-Bot/include -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"pc/os_thread_pc.d" -MT"pc/os_thread_pc.d" -o"pc/os_thread_pc.o" "../pc/os_thread_pc.c"
Building file: ../pc/sensor-low_pc.c
Invoking: GCC C Compiler
gcc -DPC -I/Users/marcusehlert/Documents/workspace/ct-Bot -I/Users/marcusehlert/Documents/workspace/ct-Bot/include -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"pc/sensor-low_pc.d" -MT"pc/sensor-low_pc.d" -o"pc/sensor-low_pc.o" "../pc/sensor-low_pc.c"
Building file: ../pc/tcp-server.c
Invoking: GCC C Compiler
Building file: ../pc/tcp.c
gcc -DPC -I/Users/marcusehlert/Documents/workspace/ct-Bot -I/Users/marcusehlert/Documents/workspace/ct-Bot/include -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"pc/tcp-server.d" -MT"pc/tcp-server.d" -o"pc/tcp-server.o" "../pc/tcp-server.c"
Invoking: GCC C Compiler
gcc -DPC -I/Users/marcusehlert/Documents/workspace/ct-Bot -I/Users/marcusehlert/Documents/workspace/ct-Bot/include -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"pc/tcp.d" -MT"pc/tcp.d" -o"pc/tcp.o" "../pc/tcp.c"
Building file: ../mcu/adc.c
Invoking: GCC C Compiler
gcc -DPC -I/Users/marcusehlert/Documents/workspace/ct-Bot -I/Users/marcusehlert/Documents/workspace/ct-Bot/include -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"mcu/adc.d" -MT"mcu/adc.d" -o"mcu/adc.o" "../mcu/adc.c"
../1st_init.S:50:unknown section type: @progbits
../1st_init.S:50:Rest of line ignored. 1st junk character valued 32 ( ).
../1st_init.S:51:Unknown pseudo-op: .size
../1st_init.S:51:Rest of line ignored. 1st junk character valued 95 (_).
../1st_init.S:53:Unknown pseudo-op: .zero
../1st_init.S:53:Rest of line ignored. 1st junk character valued 49 (1).
../1st_init.S:55:unknown section type: @progbits
../1st_init.S:55:Rest of line ignored. 1st junk character valued 32 ( ).
../1st_init.S:56:Unknown pseudo-op: .size
../1st_init.S:56:Rest of line ignored. 1st junk character valued 95 (_).
../1st_init.S:58:Unknown pseudo-op: .zero
../1st_init.S:58:Rest of line ignored. 1st junk character valued 49 (1).
../1st_init.S:63:Unknown pseudo-op: .type
../1st_init.S:63:Rest of line ignored. 1st junk character valued 95 (_).
../1st_init.S:64:Unknown pseudo-op: .size
../1st_init.S:64:Rest of line ignored. 1st junk character valued 95 (_).
../1st_init.S:65:FATAL:Symbol _eeprom_start1__ already defined.
Building file: ../mcu/bootloader.c
make: *** [1st_init.o] Error 1
make: *** Waiting for unfinished jobs....
Invoking: GCC C Compiler
gcc -DPC -I/Users/marcusehlert/Documents/workspace/ct-Bot -I/Users/marcusehlert/Documents/workspace/ct-Bot/include -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"mcu/bootloader.d" -MT"mcu/bootloader.d" -o"mcu/bootloader.o" "../mcu/bootloader.c"
Finished building: ../mcu/adc.c

Finished building: ../mcu/bootloader.c
Finished building: ../mmc-vm.c

Finished building: ../bot-2-bot.c


Finished building: ../pc/mouse_pc.c

Finished building: ../pc/ir-rc5_pc.c

Finished building: ../pc/display_pc.c
Finished building: ../pc/sensor-low_pc.c


Finished building: ../timer.c
Finished building: ../pc/led_pc.c


Finished building: ../pc/delay_pc.c

Finished building: ../math_utils.c

Finished building: ../pc/mmc-emu_pc.c

Finished building: ../pc/eeprom_pc.c
Finished building: ../sensor.c


Finished building: ../log.c

Finished building: ../pc/mini-fat.c

Finished building: ../pc/tcp-server.c

Finished building: ../pc/tcp.c

Finished building: ../pc/motor-low_pc.c

Finished building: ../pc/bot-2-sim_pc.c
Finished building: ../ui/misc.c


Finished building: ../motor.c
Finished building: ../fifo.c


Finished building: ../map.c
Finished building: ../pc/os_thread_pc.c


Finished building: ../pc/cmd-tools_pc.c

Finished building: ../ct-Bot.c
Finished building: ../command.c


Finished building: ../ui/gui.c

Finished building: ../ui/rc5.c

Finished building: ../pos_store.c


Liebe Grüße
Marcus

eax
Friends of Robby
Friends of Robby
Beiträge: 755
Registriert: 18 Jan 2006, 16:16
Wohnort: Karlsruhe

Beitrag von eax » 04 Mai 2010, 20:27

Hallo Marcus,

danke für die zusätzlichen Informationen.
Ich habe die Projekteinstellungen jetzt angepasst und ins SVN gestellt.
Nach einem SVN-Update musst du das Projekt schließen und wieder öffnen (oder Eclipse neu starten), bevor du es mit einem Aufruf von Project->Clean neu übersetzen kannst, weil Eclipse die Projekteinstellungen sonst (glaube ich) nicht aktualisiert.

Schöne Grüße,
Timo

TheFlyer85

Beitrag von TheFlyer85 » 04 Mai 2010, 22:24

Hallo Timo,

ich habe gerade mein Projekt aktualisiert und anschließend auch Eclipse neu gestartet. Als dies nichts geholfen hat, habe ich das Projekt gelöscht und komplett neu von SVN Heruntergeladen.

Leider hat sich an den Problemen nicht viel verändert. Diese sitzen immer noch in der selben Datei in Line 50 und 55 .

Hier nochmal die diesmal etwas kürzere Consolenausgabe:


**** Build of configuration Debug-Mac for project ct-Bot ****

make -j3 all
Building file: ../1st_init.S
Building file: ../ct-Bot.c
Invoking: GCC C Compiler
gcc -DPC -I/Users/marcusehlert/Documents/workspace/ct-Bot -I/Users/marcusehlert/Documents/workspace/ct-Bot/include -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"ct-Bot.d" -MT"ct-Bot.d" -o"ct-Bot.o" "../ct-Bot.c"
Invoking: GCC Assembler
as -I"/Users/marcusehlert/Documents/workspace/ct-Bot" -I"/Users/marcusehlert/Documents/workspace/ct-Bot/include" -o"1st_init.o" "../1st_init.S"
../1st_init.S:50:unknown section type: @progbits
../1st_init.S:50:Rest of line ignored. 1st junk character valued 32 ( ).
Building file: ../fifo.c
../1st_init.S:51:Unknown pseudo-op: .size
../1st_init.S:51:Rest of line ignored. 1st junk character valued 95 (_).
../1st_init.S:53:Unknown pseudo-op: .zero
../1st_init.S:53:Rest of line ignored. 1st junk character valued 49 (1).
../1st_init.S:55:unknown section type: @progbits
../1st_init.S:55:Rest of line ignored. 1st junk character valued 32 ( ).
../1st_init.S:56:Unknown pseudo-op: .size
../1st_init.S:56:Rest of line ignored. 1st junk character valued 95 (_).
../1st_init.S:58:Unknown pseudo-op: .zero
../1st_init.S:58:Rest of line ignored. 1st junk character valued 49 (1).
../1st_init.S:63:Unknown pseudo-op: .type
../1st_init.S:63:Rest of line ignored. 1st junk character valued 95 (_).
../1st_init.S:64:Unknown pseudo-op: .size
../1st_init.S:64:Rest of line ignored. 1st junk character valued 95 (_).
../1st_init.S:65:FATAL:Symbol _eeprom_start1__ already defined.
Invoking: GCC C Compiler
gcc -DPC -I/Users/marcusehlert/Documents/workspace/ct-Bot -I/Users/marcusehlert/Documents/workspace/ct-Bot/include -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"fifo.d" -MT"fifo.d" -o"fifo.o" "../fifo.c"
make: *** [1st_init.o] Error 1
make: *** Waiting for unfinished jobs....
Finished building: ../fifo.c

Finished building: ../ct-Bot.c

Liebe Grüße
Marcus

eax
Friends of Robby
Friends of Robby
Beiträge: 755
Registriert: 18 Jan 2006, 16:16
Wohnort: Karlsruhe

Beitrag von eax » 05 Mai 2010, 18:05

Hallo Marcus,

das ist ja seltsam, Eclipse ruft immer noch as auf:

Code: Alles auswählen

Invoking: GCC Assembler 
as -I"/Users/marcusehlert/Documents/workspace/ct-Bot" -I"/Users/marcusehlert/Documents/workspace/ct-Bot/include" -o"1st_init.o" "../1st_init.S" 
Kannst du bitte mal Eclipse->About Eclipse SDK->Installation Details (siehe Ahang) aufrufen und von dem Fenster einen Screenshot machen?
Und einen weiteren von den Projekt-Properties des ct-Bot-Projekts, nachdem du auf Debug-Mac umgestellt hast. Dort von C/C++ Build->Settings->GCC Assembler (siehe Anhang).

Probiere doch außerdem bitte mal das ct-Bot Projekt aus dem devel-Ordner des SVNs zu importieren, bekommst du dort denselben Fehler?

Schöne Grüße,
Timo

TheFlyer85

Beitrag von TheFlyer85 » 05 Mai 2010, 21:34

Hallo Timo,
anbei habe ich die Bildschirmfotos von den "Installation Details" und den "Projekt Properties".

Ich habe nun das Projekt wieder gelöscht und wie du vorgeschlagen hast, das vom devel-Ordner geladen...
Komischer- / Erfreulicherweise funktioniert das jetzt!

Mit anfänglichen Startproblemen (leider habe ich mir den einen Fehler nicht gemerkt) tut es nun nach dem 3. Mal Builden fehlerfrei :-) . Auch von dem habe ich zum Vergleich die "Projekt Properties" angehängt.

Was ist denn genau der Unterschied von den devel zu den stable - Projekten? Ich nutze Eclipse und die ct-Bot Programmierung auch in der Hochschule (habe es zumindest in näherer Zukunft vor ;-) ) und der Prof. hat uns die von stable empfohlen. Kann ich dennoch mit den devel-Projekten arbeiten?

Gruß
Marcus
Dateianhänge
Projekt Properties devel.png
Projekt Properties.png
Installation Details.png

eax
Friends of Robby
Friends of Robby
Beiträge: 755
Registriert: 18 Jan 2006, 16:16
Wohnort: Karlsruhe

Beitrag von eax » 05 Mai 2010, 23:33

Hallo Marcus,

schon merkwürdig, dass Eclipse beim stable-Projekt die Einstellungen falsch einliest und bei devel richtig. Ich werde bei Gelegenheit mal dieselbe Eclipse-Version installieren, die du verwendest (darum die Installation Details), vielleicht kann ich das dann reproduzieren. Du kannst ja erstmal mit dem devel-Projekt arbeiten.

Zu den Unterschieden zwischen stable und devel:
Alle Neuerung fließen zunächst in den devel-Zweig ein und werden dort (mehr oder weniger ausführlich) getestet. Von Zeit zu Zeit gibt es dann ein "Release", was nichts weiter ist, als eine 1:1 Kopie der aktuellen devel-Version nach stable. Grundsätzlich kannst du davon ausgehen, dass alle Funktionen des Frameworks, die in stable zur Verfügung stehen, auch in Zukunft erhalten bleiben werden. In devel kann es auch mal vorkommen, dass eine neue Funktionalität wieder entfernt oder umgestaltet wird, weil sie sich als nicht sinnvoll herausgestellt hat.
Einen kurzen Überblick, was genau in devel neu ist, findest du in der Datei Changelog.txt, alles bis zum Eintrag Release 16 ist neu gegenüber dem stable-Zweig. Detailliertere Infos zu den devel-Updates gibt es dann jeweils auf der Mailingliste (Infos zu den bisherigen Updates im dort verlinkten Archiv).

Dabei solltest du aber auch folgendes beachten: Die meisten neuen Funktionen oder Verhalten sind optional und haben keinen weiteren Einfluss, wenn sie nicht aktiviert werden. Updates die auch grundlegende Standardfunktionen betreffen, sind eher selten. Von daher kannst du problemlos auch die devel-Version verwenden. Im Moment gibt es dort auch keine völlig experimentellen Features, die evtl. wieder verschwinden könnten und falls es in Zukunft ein Update gibt, das du lieber nicht verwenden möchtest, aktualisierst du dein Projekt einfach nicht.

Ich hoffe, das hilft dir schon mal weiter.

Viele Grüße
Timo

TheFlyer85

Beitrag von TheFlyer85 » 06 Mai 2010, 08:59

Hi Timo,

danke erstmal für deine Hilfe und deine ausführlichen Erklärungen.
Dank dir kann ich jetzt mal anfangen mit dem Teil zu arbeiten :-) .

Nebenbei: Den Fehler den ich bei der devel am Anfang immer bekomme ist "make[1]:[post-build] Error 1 (ignored) ... der ist aber nach dem 2. Mal Builden weg... damit kann ich leben ;-)

Liebe Grüße
Marcus
Dateianhänge
postbuild Error.png

eax
Friends of Robby
Friends of Robby
Beiträge: 755
Registriert: 18 Jan 2006, 16:16
Wohnort: Karlsruhe

Beitrag von eax » 06 Mai 2010, 10:27

Hi Marcus,
TheFlyer85 hat geschrieben:Nebenbei: Den Fehler den ich bei der devel am Anfang immer bekomme ist "make[1]:[post-build] Error 1 (ignored) ... der ist aber nach dem 2. Mal Builden weg... damit kann ich leben ;-)
das ist kein wirklicher Fehler, sondern liegt daran, dass die Option EEPROM_EMU_AVAILABLE in ct-Bot.h ausgeschaltet ist. Wenn du sie nicht brauchst (was eigentlich der Normalfall ist), kannst du in den Projekteinstellungen unter C/C++ Build->Settings->Build Steps->Post-build steps einfach alles aus der Command-Zeile löschen. Danach ist der "Fehler" weg. Oder du ignorierst ihn einfach. ;-)

Schöne Grüße,
Timo

Antworten