Platform: Ubuntu Linux 20.04 LTS running IDE 1.8.19
Compiler cannot locate "ESP-WiFiSettings.h" even though it is present in the library. I included a screenshot of library:
type #include <SPI.h>
#include <ESP-WiFiSettings.h>
#include <math.h>
int LED_BUILTIN = 2; // Blink function
char wifissid[] = "xxxxxxxxxxx"; // your network SSID (name)
char wifipass[] = "xxxxxxxxxxx"; // your WPA network password
char DEVID1[] = "xxxxxxxxxxxxxxxxx"; // token/key
// Debug mode !!!!!!!!!!!!!!!!!!!
boolean DEBUG = true;
char serverName[] = "api.pushingbox.com";
const int B = 4275; // B value of the thermistor; +- 275 = .6 C (1.0 F)
const uint32_t R0 = 100000; // R0 = 100k; int type uint32_t required (unsigned 32 bit)
const int pinTempSensor_1 = A0; // Grove - Temperature Sensor connect to A0
const int tmp_adj_1 = 4; // sensor 1 calibration adjustment
float sp_temp_1;
float sp_temp_1F;
float Hi_Tmp_Alm = 195.00; // Hi Temp Alarm setpoint
float Low_Tmp_Alm = 1.00; // Low " " "
int keyIndex = 0; // WiFi Communication Parameter
int status = WL_IDLE_STATUS;
WiFiServer server(80);
boolean temp_alarm = false;
boolean temp_alarm_state = false;
boolean lastConnected = false;
WiFiClient client;
void setup()or paste code here
typArduino: 1.8.19 (Linux), Board: "ESP32 Dev Module, Disabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 921600, Core 1, Core 1, None"
........
DARDUINO_USB_CDC_ON_BOOT=0 @/tmp/arduino_build_611882/build_opt.h -I/home/ed/.arduino15/packages/esp32/hardware/esp32/2.0.2/cores/esp32 -I/home/ed/.arduino15/packages/esp32/hardware/esp32/2.0.2/variants/esp32 -I/home/ed/.arduino15/packages/esp32/hardware/esp32/2.0.2/libraries/SPI/src /tmp/arduino_build_611882/sketch/Pump_House__Monitor_ver2.ino.cpp -o /dev/null
Alternatives for ESP-WiFiSettings.h: []Pump_House__Monitor_ver2:6:14: fatal error: ESP-WiFiSettings.h: No such file or directory
#include <ESP-WiFiSettings.h>
^~~~~~~~~~~~~~~~~~~~
compilation terminated.
ResolveLibrary(ESP-WiFiSettings.h)
-> candidates: []
Using library SPI at version 2.0.0 in folder: /home/ed/.arduino15/packages/esp32/hardware/esp32/2.0.2/libraries/SPI
exit status 1
ESP-WiFiSettings.h: No such file or directory
e or paste code here