Support
Welcome
Login
Sign up
Home
Solutions
Forums
How can we help you today?
Enter your search term here...
Search
New support ticket
Check ticket status
Start a new topic
Discussions
OpenEVSE Forums
OpenEVSE WiFi, RAPI and Communications
ESP32_WiFi_V4.x compile failed missing <Arduino.h>
G
György Szabó
started a topic
over 2 years ago
Hi all,
i'm a newbie in Platformio, trying to compile the ESP32_WiFi_V4.x code but stuck with this error in the subject.
The <Arduino.h> file can be found at:
.platformio/packages/framework-arduinoespressif32/cores/esp32
Here is the relevant part of the build log:
...
Building in release mode
6.14.4
PATH=/home/technik/.platformio/packages/toolchain-xtensa32/bin:/home/technik/.platformio/packages/toolchain-esp32ulp/bin:/home/technik/.platformio/packages/tool-esptoolpy:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
Compiling .pio/build/openevse_wifi_v1/src/LedManagerTask.o
src/LedManagerTask.cpp:5:10: fatal error: Arduino.h: No such file or directory
*****************************************************************
* Looking for Arduino.h dependency? Check our library registry!
*
* CLI > platformio lib search "header:Arduino.h"
* Web >
https://registry.platformio.org/search?q=header:Arduino.h
*
*****************************************************************
#include <Arduino.h>
^~~~~~~~~~~
compilation terminated.
Compiling .pio/build/openevse_wifi_v1/src/MongooseOcppSocketClient.o
*** [.pio/build/openevse_wifi_v1/src/LedManagerTask.o] Error 1
In file included from src/MongooseOcppSocketClient.cpp:11:
src/net_manager.h:4:10: fatal error: Arduino.h: No such file or directory
...
I can't seem to find any topic regarding this issue. It might be I missed something to install/configure.
Tried with Platformio Core and VSCode, same error.
Any help would be appreciated.
Thank you.
Login
or
Signup
to post a comment
More topics in
OpenEVSE WiFi, RAPI and Communications
Blynk interface for OpenEVSE via the ESP8266?
Getting OpenEVSE timer state via sm RAPI command?
Defining voltmeter
Error in total kW's when disabling and enabling OpenEVSE
Compiled firmware
Is Blynk the only app to check the status of charge?
Wifi security
Level 2 max current and total Wh so far not shown on module dashboard
Is device initialization working properly?
Vehical battery level.
See all 138 topics
György Szabó
The <Arduino.h> file can be found at: