ShiftLCD library Error compiling

Arduino: 1.6.4 (Windows 7), Board: "Freetronics LeoStick"

Hi all,

I am greeted with the following error when trying to compile:

In file included from sketch_jun08a.ino:2:0:
C:\Users\Administrator\Documents\Arduino\libraries\ShiftLCD/ShiftLCD.h:116:16: error: conflicting return type specified for 'virtual void ShiftLCD::write(uint8_t)'
virtual void write(uint8_t);
^
In file included from C:\Users\Administrator\Documents\Arduino\libraries\ShiftLCD/ShiftLCD.h:38:0,
from sketch_jun08a.ino:2:
C:\Program Files\Arduino\hardware\arduino\avr\cores\arduino/Print.h:48:20: error: overriding 'virtual size_t Print::write(uint8_t)'
virtual size_t write(uint8_t) = 0;
^
Error compiling.

I found this library here:Arduino Adventures: Controlling an LCD Display with a Shift Register

Can anyone tell me what is wrong here?

Thanks in advance!

Mike

Hi Delta,

I did try going back to 0022, but to no avail, how can I update the library?

Thanks in advance,

Hi Delta,

Yes this is way over my head!
Thanks for your help here!
Attached is the Zip I downloaded, I will attempt to learn how to do this also, but ill use the changes you make, i just don"t want to make a mess of it!

Mike

ShiftLCD.zip (19.2 KB)

Hi Delta, thanks for that,

I have tried these however I get the below message...

Arduino: 1.6.4 (Windows 7), Board: "Freetronics LeoStick"

C:\Users\Administrator\Documents\Arduino\libraries\ShiftLCD\ShiftLCD.cpp:6:22: fatal error: WProgram.h: No such file or directory
#include "WProgram.h"
^
compilation terminated.
Error compiling.

Perfect! working great now.

Thank you very much for your help!

If anyone else has this issue, please download the file below!

ShiftLCD.zip (18.4 KB)