Compatability issues when updating Arduino IDE

Hello,
I am having great difficulty in understanding the changes I need to make to my programs to get them to compile.
I have been using version 0023 to compile Marlin as this was the only version that I could get the program to compile with.
I have been told that a function autobedkevelling will compile with version 1.6.x but I can't even get the program to compile with that function turned off.
Even with new versions of Marlin they still won't compile on anything other than the 0023 version.
I have attached the error message I get hope it helps point me in the right direction to fix.
Cheers

1-ErrorMessage.txt (946 Bytes)

Looks like you need an update of the LiquidCrystal_I2C library.

In Configuration.h it says:

// The Elefu RA Board Control Panel
// http://www.elefu.com/index.php?route=product/product&product_id=53
// REMEMBER TO INSTALL LiquidCrystal_I2C.h in your ARUDINO library folder: https://github.com/kiyoshigawa/LiquidCrystal_I2C
//#define RA_CONTROL_PANEL

Hi thanks for your response,
I was excited to get your help then quick to turn to disappointing that I loaded the latest .cpp and .h files for LiquidCrystal_i2c and was stumped to find the more errors in the same file as per the attachment.
Any more suggestions?

2-ErrorMessage.txt (758 Bytes)

That one has me stumped.

Do you actually have an LCD connected via I2C or is the library being included accidentally?

Hi MysticDarkLord

\Documents\Arduino\libraries\LiquidCrystal_I2C\LiquidCrystal_I2C.cpp:20:29: error: 'class TwoWire' has no member named 'write'

Sounds like an old version of the Wire library is getting included. Wire used to have "send" and "receive" methods but now uses "write" and "read".

Can you compile again with verbose mode turned on and post all the messages?

Regards

Ray

HI,
I have tried to have a new wire library included and also new LiquidCrystal_I2C
I have included the verbose error file,
Can you tell me which file I need to update now?

3-ErrorMessage.txt (24.5 KB)

johnwasser:
That one has me stumped.

Do you actually have an LCD connected via I2C or is the library being included accidentally?

I do have a graphics lcd RepRapDiscount full graphics controller however with Marlin there is a stack of options which are included so I am not experienced enough to remove the ones I don't need.

Try removing the Wire library folder that is in your Documents\Arduino\libraries folder. Make a backup copy somewhere else and delete that folder.

The LiquidCrystal library should then find the up to date Wire library that is shipped with the IDE.

Wait, where is the code you're trying to compile?

Can you post that?

You little beauty thanks Hackscribble, I deleted that folder and then a couple of others as well, and now I have compilation.
Thanks all great work.

Hackscribble:
Try removing the Wire library folder that is in your Documents\Arduino\libraries folder. Make a backup copy somewhere else and delete that folder.

The LiquidCrystal library should then find the up to date Wire library that is shipped with the IDE.

Now that I have it compiling without having the Library files in there. Should I find updated versions of the libraries I deleted and put them back??
Thanks again for helping me sort out the problem, with an easy as delete the file fix. :slight_smile:

Tried it didn't work Ill stick with letting the IDE find the right SPI, Wire and LiquidCrystal libraries itself.