Error when compiling libraries

Hello all,

I’m trying to compile SimpleMessageSystem library in Arduino 0018 but it gives me this error:

/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/main.cpp:10: undefined reference to `loop'

I tried different libraries but all of them give the same error. Any idea what might be going wrong?

Thank you for your time.

Best,
Taylan

Post your code here.

Oh, it’s just this:

#include <SimpleMessageSystem.h>

Sorry, my bad. I thought I had to compile the library before compiling any further code related to concerned lib. Including that snippet of code I posted to the code that I actually want to run solved it. Please forgive for wasting your time.

Best, Taylan