I still have some peculiarities. My target platform is Wemos D1 mini. When I look at the overview of the libraries, a number are crossed out. I did add the path to those libraries. Some compilation problems might relate to that.
I added a screenshot and my code. The code compiles with the Arduino IDE but not with your's Could you enlighten me on what my mistakes are?