Page 1 of 1

Eclipse: -larduinocore missing?

Posted: Tue 29. May 2012, 20:49
by designer2k2
Habs geschafft den Code ins Eclipse zu bekommen, und jetzt wirft er mir diesen Fehler beim Bauen:

Code: Select all

**** Build of configuration Debug for project boostcontroller ****

make all 
Building target: boostcontroller.elf
Invoking: AVR C++ Linker
avr-g++ -Wl,-Map,boostcontroller.map,--cref -mmcu=atmega328p -o"boostcontroller.elf"  ./libs/EEPROM.o ./libs/PID_v1.o ./libs/Wire.o ./libs/buttons.o ./libs/cplusplus.o ./libs/twi.o  ./BoostController.o ./BoostController2.o ./MainController.o ./SensorData.o ./main.o ./util.o   -larduinocore
/opt/avr/lib/gcc/avr/4.3.4/../../../../avr/bin/ld: cannot find -larduinocore
make: *** [boostcontroller.elf] Fehler 1

**** Build Finished ****
Wobei diese Zeile rot ist:

Code: Select all

/opt/avr/lib/gcc/avr/4.3.4/../../../../avr/bin/ld: cannot find -larduinocore
Mein Workspace sieht so aus:
eclipseerror.PNG
eclipseerror.PNG (17.64 KiB) Viewed 4814 times
was hab ich da falsch? :?:

Re: Eclipse: -larduinocore missing?

Posted: Tue 29. May 2012, 21:37
by bofh
Die arduinocore-lib wird im Projekt arduinoDuemilanoveCore-v1 erstellt. Das muss in der Build-Configuration "Release" gebaut werden.

Dann muss noch die Referenz auf die Lib stimmen:

Re: Eclipse: -larduinocore missing?

Posted: Wed 30. May 2012, 16:31
by designer2k2
ok, hab die arduinoDuemilanoveCore-v1 auf Release gebaut (damit der Ordner Release auch entsteht) und jetzt kann ich alles bauen :magic:

Hab mir wohl beim SVN Update alles so upgedatet das ich erstmal wieder die Libs bauen musste...

Danke für die Hilfe!!!