Adding a LCD to Arduino project fails

I’m new to this - both Arduino programming AND PlatformOI - and I’m trying to get an 4X20 LCD into my nicely working project.

I have included the #include <LiquidCrystal.h> and added the library to the project in PlatformIO, but when compiling I get this error:

https://1drv.ms/u/s!Ap0XTBN0ykvEjPVEXwdpefREKPL-zw?e=iu7OqQ

How to cure this ?

There is no visible error message other than “Error 1”, very hard to say anything about it.

Can you upload the whole project?

Is the project folder in some very deep nested path?

I think it’s my settings OR Paths that’s wrong because:

When I DELETE the added lib LiquidCrystal from the project and out-comment the “#include <LiquidCrystal.h>” only MY code is left and it compiles with NO errors !!!
If I then again activate the #include <LiquidCrystal.h> AND adds lib LiquidCrystal to the project and try to compile again - it CAN’T compile and I get errors (I have not yey written any code except the ‘#Include’ ! )

(copied from screen:)
#include <Wire.h>
^~~~~~~~
compilation terminated.
In file included from .pio\libdeps\uno\LiquidCrystal\LiquidCrystal_SR1W.cpp:48:0:
.pio\libdeps\uno\LiquidCrystal\LiquidCrystal_SR1W.h:168:1: warning: multi-line comment [-Wcomment]
// | | 0.1uF |
^
*** [.pio\build\uno\lib047\LiquidCrystal\LiquidCrystal_I2C_ByVac.cpp.o] Error 1

What is wrong here, I don’t get it ???

Add

#include <Wire.h>

to the main.cpp code at the top. It seems to have trouble finding the library dependency.

It works, but isn’t it in fact a Path-problem in my settings ?

Now I’ll try to DO something with the LCD screen :rofl: