Eclipse: -larduinocore missing?

Hilfe und Fragen auf Deutsch
Post Reply
User avatar
designer2k2
Administrator
Posts: 721
Joined: Mon 31. May 2010, 20:13
Location: Innsbruck
Contact:

Eclipse: -larduinocore missing?

Post 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 4762 times
was hab ich da falsch? :?:
itsmyfault...
User avatar
bofh
Posts: 629
Joined: Tue 1. Jun 2010, 19:01
Location: Saarland
Contact:

Re: Eclipse: -larduinocore missing?

Post 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:
Attachments
ec.png
User avatar
designer2k2
Administrator
Posts: 721
Joined: Mon 31. May 2010, 20:13
Location: Innsbruck
Contact:

Re: Eclipse: -larduinocore missing?

Post 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!!!
itsmyfault...
Post Reply