marcmerlin / NewLiquidCrystal

LiquidCrystal library with object support to allow for multiple kinds of connections (3 wires through shift registers, or even a 2 wire SR hack) I2C support is unmaintained and probably broken

Home Page:http://marc.merlins.org/perso/arduino/post_2012-01-23_LiquidCrystal-driver-support-LCD3Wire-hardware-_pebble-and-others_.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error while compiling the code with all versions of Arduino

pradipkhare opened this issue · comments

Hi,
First of all thank you very much for providing the all libraries under the folder NewLiquidCrystal. It seems to be very helpful person like, who wants to use Serial Display for the LCD. However, I am facing a fatal issue while compiling the code (your example in I2C_new.pde). I have tried to compile using in all Arduino IDEs starting from version from 1.5 back to 1.0 in all possible ways and getting following compilation error in all of them:-

"I2C_New.cpp.o: In function '_static_initialization_and_Destruction_o': error in I2C_New.cpp: 7: undefined reference to 'LiquidCrystal_I2C::LiquidCrystal_I2C(unsigned char)'."
This error is comming in all versions (which I installed, complied the code and then uninstalled for the lower version, hoping that it may compile there. I am unable to proceed further), pls provide your expert help in this and will highly appreciate the same. I haven't done any changes in your code and just copy pated took it as it is. Also, before reaching to you, I have done all due diligence from my side to compile it, however no luck.

I am attaching following images for your help:-

  1. Error that I am getting
  2. Structure of the code including libraries

Regards,
Pradip

CompilationError

File_Structure

Due to some unknown problem, I never got notification for this issue, my apologies.
I actually never worked with the I2C code, I only worked on the Shift Register (_SR) code. You should try the upstream project for I2C issues: https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home

I'm closing this because sadly I can't help you with the I2C part of the code I didn't write and never used.