Eclipse does not compile dependancies

I use Eclipse with the AVR plugin and get the following linker error. It would seem that the included source is not compiled. Like the libraries for instance.

Invoking: AVR C++ Linker
avr-g++ -Wl,-Map,HLS.map,--cref -Wl,--gc-sections -L"C:\Users\Marius\Arduino\ArduinoCore\Release" -mmcu=atmega328p -o"HLS.elf"  ./AT25DF.o ./BMP085.o ./Battery.o ./Beeper.o ./Datastore.o ./Firmware.o ./Messages.o ./Radio.o ./SPI.o ./Settings.o   -lArduinoCore
./BMP085.o: In function `BMP085::setup()':
../BMP085.cpp:47: undefined reference to `Wire'

Any helpers?

The Arduino IDE does lots of things to make life easy for a beginner.

In the Arduino IDE you do not need to use function prototypes and libraries are picked up from the include statements.
When you switch to Eclipse this does not happen.

The libraries need to be built by you as separate projects.
The main program can then reference them in the project settings.

Iain

Thanks Iain,
Do I compile each library separately or attempt to do them in one library object?

I created one project for each library.

Iain

Thanks, I will try that.