Don't bump. And learn to say thank you when people help you. And now, good-bye.
Good luck. I don’t feel much respect not work from your side
This is actually good progress! This indicates that you fixed the problem with the library installation path and are now on to the next unrelated problem in the stack.
There are two common libraries with a header file named LiquidCrystal_I2C.h. These libraries have different APIs so if you try to compile a sketch that was written for one library while the other library is installed, compilation will fail with an error like the one you reported.
I think the best solution will be for you to install the library your sketch was written to be used with.
I'll provide instructions you can follow to do that:
A. Uninstall Incorrect Library
- Select Sketch > Include Library > Manage Libraries... from the Arduino IDE menus to open the "Library Manager" view in the left side panel.
- Type
LiquidCrystal I2Cin the "Filter your search..." field. - Scroll down through the list of libraries until you see the "LiquidCrystal I2C by Frank de Brabander" entry.
- You will see an "REMOVE" button at the bottom of the entry. Click the button.
The "Uninstall" dialog will open. - Click the "YES" button in the "Uninstall" dialog.
- Wait for the uninstall process to finish, as indicated by a notification at the bottom right corner of the Arduino IDE window:
ⓘ Successfully uninstalled library LiquidCrystal I2C: ...
B. Install Correct Library
Unfortunately the correct library is not available for installation via the Arduino Library Manager so a different installation procedure is required:
- Click the following link to open the library's GitHub repository homepage in your web browser:
https://github.com/fmalpartida/New-LiquidCrystal - Click the "Code ▾" button you see on that page.
- Select Download ZIP from the menu.
A download of the ZIP file of the library will start. - Wait for the download to finish.
- Select Sketch > Include library > Add .ZIP Library from the Arduino IDE menus.
The "Select the zip file containing the library you'd like to add" dialog will open. - Select the downloaded file from the dialog.
- Click the "Open" button.
The dialog will close. - Wait for the installation process to finish, as indicated by a notification at the bottom right corner of the Arduino IDE window:
ⓘ Successfully installed library from New-LiquidCrystal-master.zip archive
Now try compiling your sketch again. Hopefully this time it will compile without any errors.
i got another error : @ptillisch
Arduino: 1.8.19 (Windows 10), Board: "Arduino Uno"
FET3S5PJHATN1NF:33:80: error: no matching function for call to 'LiquidCrystal_I2C::LiquidCrystal_I2C(int, int, int, int, int, int, int, int)'
LiquidCrystal_I2C lcd(I2C_ADDR,En_pin,Rw_pin,Rs_pin,D4_pin,D5_pin,D6_pin,D7_pin);
^
In file included from C:\Users\Omar Sowwan\Downloads\FET3S5PJHATN1NF\FET3S5PJHATN1NF.ino:16:0:
C:\Users\Omar Sowwan\OneDrive\Desktop\EVERYTHINGarduino\libraries\Arduino-LiquidCrystal-I2C-library-master/LiquidCrystal_I2C.h:71:2: note: candidate: LiquidCrystal_I2C::LiquidCrystal_I2C(uint8_t, uint8_t, uint8_t, uint8_t)
LiquidCrystal_I2C(uint8_t lcd_addr, uint8_t lcd_cols, uint8_t lcd_rows, uint8_t charsize = LCD_5x8DOTS);
^~~~~~~~~~~~~~~~~
C:\Users\Omar Sowwan\OneDrive\Desktop\EVERYTHINGarduino\libraries\Arduino-LiquidCrystal-I2C-library-master/LiquidCrystal_I2C.h:71:2: note: candidate expects 4 arguments, 8 provided
C:\Users\Omar Sowwan\OneDrive\Desktop\EVERYTHINGarduino\libraries\Arduino-LiquidCrystal-I2C-library-master/LiquidCrystal_I2C.h:60:7: note: candidate: constexpr LiquidCrystal_I2C::LiquidCrystal_I2C(const LiquidCrystal_I2C&)
class LiquidCrystal_I2C : public Print {
^~~~~~~~~~~~~~~~~
C:\Users\Omar Sowwan\OneDrive\Desktop\EVERYTHINGarduino\libraries\Arduino-LiquidCrystal-I2C-library-master/LiquidCrystal_I2C.h:60:7: note: candidate expects 1 argument, 8 provided
C:\Users\Omar Sowwan\OneDrive\Desktop\EVERYTHINGarduino\libraries\Arduino-LiquidCrystal-I2C-library-master/LiquidCrystal_I2C.h:60:7: note: candidate: constexpr LiquidCrystal_I2C::LiquidCrystal_I2C(LiquidCrystal_I2C&&)
C:\Users\Omar Sowwan\OneDrive\Desktop\EVERYTHINGarduino\libraries\Arduino-LiquidCrystal-I2C-library-master/LiquidCrystal_I2C.h:60:7: note: candidate expects 1 argument, 8 provided
C:\Users\Omar Sowwan\Downloads\FET3S5PJHATN1NF\FET3S5PJHATN1NF.ino: In function 'void setup()':
FET3S5PJHATN1NF:49:17: error: no matching function for call to 'LiquidCrystal_I2C::begin(int, int)'
lcd.begin(16,2); //START LCD SCREEN
^
In file included from C:\Users\Omar Sowwan\Downloads\FET3S5PJHATN1NF\FET3S5PJHATN1NF.ino:16:0:
C:\Users\Omar Sowwan\OneDrive\Desktop\EVERYTHINGarduino\libraries\Arduino-LiquidCrystal-I2C-library-master/LiquidCrystal_I2C.h:76:7: note: candidate: void LiquidCrystal_I2C::begin()
void begin();
^~~~~
C:\Users\Omar Sowwan\OneDrive\Desktop\EVERYTHINGarduino\libraries\Arduino-LiquidCrystal-I2C-library-master/LiquidCrystal_I2C.h:76:7: note: candidate expects 0 arguments, 2 provided
FET3S5PJHATN1NF:50:7: error: 'class LiquidCrystal_I2C' has no member named 'setBacklightPin'; did you mean 'setBacklight'?
lcd.setBacklightPin(BACKLIGHT_PIN,POSITIVE);
^~~~~~~~~~~~~~~
Multiple libraries were found for "LCD.h"
setBacklight
Used: C:\Users\Omar Sowwan\OneDrive\Desktop\EVERYTHINGarduino\libraries\1027037-f5231e9d1ae62b25816934e55cc64ec8d104c803
FET3S5PJHATN1NF:50:37: error: 'POSITIVE' was not declared in this scope
Not used: C:\Users\Omar Sowwan\OneDrive\Desktop\EVERYTHINGarduino\libraries\New-LiquidCrystal-master
lcd.setBacklightPin(BACKLIGHT_PIN,POSITIVE);
Multiple libraries were found for "LiquidCrystal_I2C.h"
^~~~~~~~
Used: C:\Users\Omar Sowwan\OneDrive\Desktop\EVERYTHINGarduino\libraries\Arduino-LiquidCrystal-I2C-library-master
Not used: C:\Users\Omar Sowwan\OneDrive\Desktop\EVERYTHINGarduino\libraries\New-LiquidCrystal-master
exit status 1
no matching function for call to 'LiquidCrystal_I2C::LiquidCrystal_I2C(int, int, int, int, int, int, int, int)'
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
I'm going to ask you to post the full verbose output from a compilation.
This procedure is not intended to solve the problem. The purpose is to gather more information.
Please do this:
- Select File > Preferences...(or Arduino > Preferences... for macOS users) from the Arduino IDE menus.
The "Preferences" dialog will open. - Check the box next to "Show verbose output during: ☐ compilation" in the "Preferences" dialog.
- Click the "OK" button.
The "Preferences" dialog will close. - Select Sketch > Verify/Compile from the Arduino IDE menus.
- After the compilation fails you'll see a button on the right side of the orange bar in Arduino IDE: Copy error messages. Click that button.
This copies the full output to the clipboard. - Open a forum reply here by clicking the "Reply" button.
- Click the
<CODE/>icon on the post composer toolbar.
This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.

- Press the Ctrl+V keyboard shortcut (Command+V for macOS users).
This will paste the compilation output into the code block. - Move the cursor outside of the code block markup before you add any additional text to your reply.
- Click the "Reply" button to post the output.
In case the output is longer than the forum software will allow to be added to a post, you can instead save it to a .txt file and then attach that file to a reply here:
- Open any text editor program.
- Paste the copied output into the text editor.
- Save the file in
.txtformat. - Open a forum reply here by clicking the "Reply" button.
- Click the "Upload" icon (
) on the post composer toolbar:

The "Open" dialog will open. - Select the
.txtfile you saved from the "Open" dialog. - Click the "Open" button.
The dialog will close. - Click the "Reply" button to publish the post.
Alternatively, instead of using the "Upload" icon on the post composer toolbar as described in steps (5) - (7) above, you can simply drag and drop the .txt file onto the post composer field to attach it.
Arduino 1.8.19 (Windows 10), Board .txt (3.8 ك.ب)
I see the problem here:
You still have the incorrect library installed so it is being used instead of the correct library.
Use Windows "File Explorer" to delete the folder at this path:
C:\Users\Omar Sowwan\OneDrive\Desktop\EVERYTHINGarduino\libraries\Arduino-LiquidCrystal-I2C-library-master
Please be careful when deleting things from your computer. When in doubt, back up!
After that, try compiling or uploading the sketch again. Hopefully this time it will compile without any errors.
it didnt @ptillisch
Arduino 1.8.19 (Windows 10), Board .txt (6.1 ك.ب)
Now there is a similar problem with yet another library:
Use Windows "File Explorer" to delete the folder at this path:
C:\Users\Omar Sowwan\OneDrive\Desktop\EVERYTHINGarduino\libraries\1027037-f5231e9d1ae62b25816934e55cc64ec8d104c803
Please be careful when deleting things from your computer. When in doubt, back up!
After that, try compiling or uploading the sketch again. Hopefully this time it will compile without any errors.
Maybe the use of OneDrive?
Not OneDrive this time. The original problem was the characters in the المستندات folder in the sketchbook path:
Unfortunately there is a bug in the Arduino CLI tool that causes the libraries to not be recognized when they are under a path that contains such characters (not limited to Arabic):
it did compile with no errors:
@ptillisch
Arduino 1.8.19 (Windows 10), Board .txt (408 بايت)
Congratulations! I'm glad it is working now.
Regards,
Per
thanks for the help
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.