-->
Page 1 of 1

Problems finding libraries

PostPosted: Thu Sep 22, 2022 3:22 am
by Duke
Hello,

I'm just switching from the Arduino IDE to VSCode/PlatformIO.
I have problems to find the right libraries again.

In the Arduino IDE I had added the json path to the addition boards manager URLS and had access to e.g. the library "https://github.com/esp8266/Arduino/.../libraries/ArduinoOTA".

Under PlatformIO I selected a new project with "Wemos D1 R2 (Mini)" and Arduino framework. Basically I can compile and flash. Unfortunately PlatformIO does not find the headerfile "ArduinoOTA" when I add it in the code.

I can search and include "ArduinoOTA" via the PlaformIO libraries search. But this is a different library with different function calls (ArduinoOTA from Arduino v1.0.9) and not from http://github.com/esp8266 (ArduinoOTA from Ivan Grokhotkov, v3.0.2).

How do I include the libraries https://github.com/esp8266/Arduino/ correctly on PlatformIO ?

Thanks

EDIT: Seems it was a local configuration problem. Everything is working now.

Re: Problems finding libraries

PostPosted: Tue Oct 18, 2022 8:10 am
by rooppoorali
Hi, did you find any help from this video?
https://www.youtube.com/watch?v=0poh_2rBq7E