LiquidCrystal problem


Arduino: Duemilanove,
Microcontroller: ATTINY2313v,
OS: Mac OS X,

I don't have any problem with using Arduino as ISP.
Alone ATTINY work and diode was blinking.

I have display with shield (named: LCD216) and without it (HD44870).

When I connected Arduino + LCD with shield - my program work very well, so I tried to connect ATTINY + LCD (without shield), but I can't upload this program on ATTINY. I have this error:

In file included from /Users/boken/Documents/Arduino/libraries/LiquidCrystal/LiquidCrystal.h:32,
                 from sketch_jun02a.cpp:1:

/Users/boken/Documents/Arduino/libraries/LiquidCrystal/LCD.h:479: error: conflicting return type specified for 'virtual size_t LCD::write(uint8_t)'

/Users/boken/Documents/Arduino/hardware/tiny/cores/tiny/Print.h:71: error:   overriding 'virtual void Print::write(uint8_t)'

What should I do? I connect ATTINY and Arduino rightly (other programs work well).

You need to change the return type for "write" to "size_t". I am pretty sure there are some posts around about that.

What LCD library are you using?