Comments (7)
I've re-added the CircularBuffer dep, can you please try? I'm used to working with local copies of some libs for easier debugging and sometimes forget to revert the config. I'm sure there is a good way to deal with this...
from espm.
Thank you, it seems that the CircularBuffer issue is solved, but I still get compile errors:
Full build log
* Executing task: C:\Users\minPopp\.platformio\penv\Scripts\platformio.exe run
Processing devel (platform: espressif32; board: lolin32_lite; framework: arduino)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/lolin32_lite.html
PLATFORM: Espressif 32 (6.6.0) > WEMOS LOLIN32 Lite
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
- framework-arduinoespressif32 @ 3.20014.231204 (2.0.14)
- tool-esptoolpy @ 1.40501.0 (4.5.1)
- toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 38 compatible libraries
Scanning dependencies...
Dependency Graph
|-- libAtoll @ 1.0.0+sha.1748cd7
|-- MPU9250 @ 0.4.5+sha.0502235
|-- NimBLE-Arduino @ 2.0.0+sha.4cfd61a
|-- HX711_ADC @ 1.2.8+sha.76d8e7d
|-- CircularBuffer @ 1.3.3+sha.14af958
|-- Preferences @ 2.0.0
|-- Wire @ 2.0.0
Building in debug mode
Compiling .pio\build\devel\src\api.cpp.o
Compiling .pio\build\devel\src\ble_server.cpp.o
Compiling .pio\build\devel\src\board.cpp.o
Compiling .pio\build\devel\src\main.cpp.o
Compiling .pio\build\devel\src\motion.cpp.o
Compiling .pio\build\devel\src\mpu_temperature.cpp.o
Compiling .pio\build\devel\src\power.cpp.o
Compiling .pio\build\devel\src\status.cpp.o
Compiling .pio\build\devel\src\strain.cpp.o
Compiling .pio\build\devel\src\temperature.cpp.o
Compiling .pio\build\devel\src\temperature_compensation.cpp.o
Compiling .pio\build\devel\src\wifi.cpp.o
Building .pio\build\devel\bootloader.bin
Generating partitions .pio\build\devel\partitions.bin
esptool.py v4.5.1
Creating esp32 image...
Merged 1 ELF section
Successfully created esp32 image.
Compiling .pio\build\devel\libb46\NimBLE-Arduino\NimBLE2904.cpp.o
Compiling .pio\build\devel\libb46\NimBLE-Arduino\NimBLEAddress.cpp.o
Compiling .pio\build\devel\libb46\NimBLE-Arduino\NimBLEAdvertisedDevice.cpp.o
Compiling .pio\build\devel\libb46\NimBLE-Arduino\NimBLEAdvertising.cpp.o
Compiling .pio\build\devel\libb46\NimBLE-Arduino\NimBLEBeacon.cpp.o
In file included from .pio/libdeps/devel/libAtoll/src/atoll_ota.h:4,
from .pio/libdeps/devel/libAtoll/src/atoll_wifi.h:11,
from src/WiFi.h:5,
from .pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:6,
from src/board.h:11,
from src/api.cpp:2:
C:/Users/minPopp/.platformio/packages/framework-arduinoespressif32/libraries/ArduinoOTA/src/ArduinoOTA.h:89:5: error: 'WiFiUDP' does not name a type
WiFiUDP _udp_ota;
^~~~~~~
In file included from src/WiFi.h:5,
from .pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:6,
from src/board.h:11,
from src/api.cpp:2:
.pio/libdeps/devel/libAtoll/src/atoll_wifi.h:73:26: error: 'arduino_event_id_t' has not been declared
virtual void onEvent(arduino_event_id_t event, arduino_event_info_t info);
^~~~~~~~~~~~~~~~~~
.pio/libdeps/devel/libAtoll/src/atoll_wifi.h:73:52: error: 'arduino_event_info_t' has not been declared
virtual void onEvent(arduino_event_id_t event, arduino_event_info_t info);
^~~~~~~~~~~~~~~~~~~~
In file included from .pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:6,
from src/board.h:11,
from src/api.cpp:2:
src/WiFi.h:13:26: error: 'arduino_event_id_t' has not been declared
virtual void onEvent(arduino_event_id_t event, arduino_event_info_t info) override;
^~~~~~~~~~~~~~~~~~
src/WiFi.h:13:52: error: 'arduino_event_info_t' has not been declared
virtual void onEvent(arduino_event_id_t event, arduino_event_info_t info) override;
^~~~~~~~~~~~~~~~~~~~
In file included from src/board.h:11,
from src/api.cpp:2:
.pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:54:5: error: 'WiFiServer' does not name a type; did you mean 'WifiSerial'?
WiFiServer _server;
^~~~~~~~~~
WifiSerial
.pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:55:5: error: 'WiFiClient' does not name a type; did you mean 'DNSClient'?
WiFiClient _client;
^~~~~~~~~~
DNSClient
Compiling .pio\build\devel\libb46\NimBLE-Arduino\NimBLECharacteristic.cpp.o
In file included from .pio/libdeps/devel/libAtoll/src/atoll_ota.h:4,
from .pio/libdeps/devel/libAtoll/src/atoll_wifi.h:11,
from src/WiFi.h:5,
from .pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:6,
from src/board.h:11,
from src/ble_server.cpp:2:
C:/Users/minPopp/.platformio/packages/framework-arduinoespressif32/libraries/ArduinoOTA/src/ArduinoOTA.h:89:5: error: 'WiFiUDP' does not name a type
WiFiUDP _udp_ota;
^~~~~~~
In file included from src/WiFi.h:5,
from .pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:6,
from src/board.h:11,
from src/ble_server.cpp:2:
.pio/libdeps/devel/libAtoll/src/atoll_wifi.h:73:26: error: 'arduino_event_id_t' has not been declared
virtual void onEvent(arduino_event_id_t event, arduino_event_info_t info);
^~~~~~~~~~~~~~~~~~
.pio/libdeps/devel/libAtoll/src/atoll_wifi.h:73:52: error: 'arduino_event_info_t' has not been declared
virtual void onEvent(arduino_event_id_t event, arduino_event_info_t info);
^~~~~~~~~~~~~~~~~~~~
In file included from .pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:6,
from src/board.h:11,
from src/ble_server.cpp:2:
src/WiFi.h:13:26: error: 'arduino_event_id_t' has not been declared
virtual void onEvent(arduino_event_id_t event, arduino_event_info_t info) override;
^~~~~~~~~~~~~~~~~~
src/WiFi.h:13:52: error: 'arduino_event_info_t' has not been declared
virtual void onEvent(arduino_event_id_t event, arduino_event_info_t info) override;
^~~~~~~~~~~~~~~~~~~~
In file included from src/board.h:11,
from src/ble_server.cpp:2:
.pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:54:5: error: 'WiFiServer' does not name a type; did you mean 'WifiSerial'?
WiFiServer _server;
^~~~~~~~~~
WifiSerial
.pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:55:5: error: 'WiFiClient' does not name a type; did you mean 'DNSClient'?
WiFiClient _client;
^~~~~~~~~~
DNSClient
In file included from .pio/libdeps/devel/libAtoll/src/atoll_ota.h:4,
from .pio/libdeps/devel/libAtoll/src/atoll_wifi.h:11,
from src/WiFi.h:5,
from .pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:6,
from src/board.h:11,
from src/board.cpp:1:
C:/Users/minPopp/.platformio/packages/framework-arduinoespressif32/libraries/ArduinoOTA/src/ArduinoOTA.h:89:5: error: 'WiFiUDP' does not name a type
WiFiUDP _udp_ota;
^~~~~~~
In file included from src/WiFi.h:5,
from .pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:6,
from src/board.h:11,
from src/board.cpp:1:
.pio/libdeps/devel/libAtoll/src/atoll_wifi.h:73:26: error: 'arduino_event_id_t' has not been declared
virtual void onEvent(arduino_event_id_t event, arduino_event_info_t info);
^~~~~~~~~~~~~~~~~~
.pio/libdeps/devel/libAtoll/src/atoll_wifi.h:73:52: error: 'arduino_event_info_t' has not been declared
virtual void onEvent(arduino_event_id_t event, arduino_event_info_t info);
^~~~~~~~~~~~~~~~~~~~
In file included from .pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:6,
from src/board.h:11,
from src/board.cpp:1:
src/WiFi.h:13:26: error: 'arduino_event_id_t' has not been declared
virtual void onEvent(arduino_event_id_t event, arduino_event_info_t info) override;
^~~~~~~~~~~~~~~~~~
src/WiFi.h:13:52: error: 'arduino_event_info_t' has not been declared
virtual void onEvent(arduino_event_id_t event, arduino_event_info_t info) override;
^~~~~~~~~~~~~~~~~~~~
In file included from src/board.h:11,
from src/board.cpp:1:
.pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:54:5: error: 'WiFiServer' does not name a type; did you mean 'WifiSerial'?
WiFiServer _server;
^~~~~~~~~~
WifiSerial
.pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:55:5: error: 'WiFiClient' does not name a type; did you mean 'DNSClient'?
WiFiClient _client;
^~~~~~~~~~
DNSClient
*** [.pio\build\devel\src\api.cpp.o] Error 1
In file included from .pio/libdeps/devel/libAtoll/src/atoll_ota.h:4,
from .pio/libdeps/devel/libAtoll/src/atoll_wifi.h:11,
from src/WiFi.h:5,
from .pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:6,
from src/board.h:11,
from src/main.cpp:3:
C:/Users/minPopp/.platformio/packages/framework-arduinoespressif32/libraries/ArduinoOTA/src/ArduinoOTA.h:89:5: error: 'WiFiUDP' does not name a type
WiFiUDP _udp_ota;
^~~~~~~
In file included from src/WiFi.h:5,
from .pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:6,
from src/board.h:11,
from src/main.cpp:3:
.pio/libdeps/devel/libAtoll/src/atoll_wifi.h:73:26: error: 'arduino_event_id_t' has not been declared
virtual void onEvent(arduino_event_id_t event, arduino_event_info_t info);
^~~~~~~~~~~~~~~~~~
.pio/libdeps/devel/libAtoll/src/atoll_wifi.h:73:52: error: 'arduino_event_info_t' has not been declared
virtual void onEvent(arduino_event_id_t event, arduino_event_info_t info);
^~~~~~~~~~~~~~~~~~~~
In file included from .pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:6,
from src/board.h:11,
from src/main.cpp:3:
src/WiFi.h:13:26: error: 'arduino_event_id_t' has not been declared
virtual void onEvent(arduino_event_id_t event, arduino_event_info_t info) override;
^~~~~~~~~~~~~~~~~~
src/WiFi.h:13:52: error: 'arduino_event_info_t' has not been declared
virtual void onEvent(arduino_event_id_t event, arduino_event_info_t info) override;
^~~~~~~~~~~~~~~~~~~~
In file included from src/board.h:11,
from src/main.cpp:3:
.pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:54:5: error: 'WiFiServer' does not name a type; did you mean 'WifiSerial'?
WiFiServer _server;
^~~~~~~~~~
WifiSerial
.pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:55:5: error: 'WiFiClient' does not name a type; did you mean 'DNSClient'?
WiFiClient _client;
^~~~~~~~~~
DNSClient
*** [.pio\build\devel\src\ble_server.cpp.o] Error 1
In file included from .pio/libdeps/devel/libAtoll/src/atoll_ota.h:4,
from .pio/libdeps/devel/libAtoll/src/atoll_wifi.h:11,
from src/WiFi.h:5,
from .pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:6,
from src/board.h:11,
from src/motion.cpp:1:
C:/Users/minPopp/.platformio/packages/framework-arduinoespressif32/libraries/ArduinoOTA/src/ArduinoOTA.h:89:5: error: 'WiFiUDP' does not name a type
WiFiUDP _udp_ota;
^~~~~~~
In file included from src/WiFi.h:5,
from .pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:6,
from src/board.h:11,
from src/motion.cpp:1:
.pio/libdeps/devel/libAtoll/src/atoll_wifi.h:73:26: error: 'arduino_event_id_t' has not been declared
virtual void onEvent(arduino_event_id_t event, arduino_event_info_t info);
^~~~~~~~~~~~~~~~~~
.pio/libdeps/devel/libAtoll/src/atoll_wifi.h:73:52: error: 'arduino_event_info_t' has not been declared
virtual void onEvent(arduino_event_id_t event, arduino_event_info_t info);
^~~~~~~~~~~~~~~~~~~~
In file included from .pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:6,
from src/board.h:11,
from src/motion.cpp:1:
src/WiFi.h:13:26: error: 'arduino_event_id_t' has not been declared
virtual void onEvent(arduino_event_id_t event, arduino_event_info_t info) override;
^~~~~~~~~~~~~~~~~~
src/WiFi.h:13:52: error: 'arduino_event_info_t' has not been declared
virtual void onEvent(arduino_event_id_t event, arduino_event_info_t info) override;
^~~~~~~~~~~~~~~~~~~~
In file included from src/board.h:11,
from src/motion.cpp:1:
.pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:54:5: error: 'WiFiServer' does not name a type; did you mean 'WifiSerial'?
WiFiServer _server;
^~~~~~~~~~
WifiSerial
.pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:55:5: error: 'WiFiClient' does not name a type; did you mean 'DNSClient'?
WiFiClient _client;
^~~~~~~~~~
DNSClient
*** [.pio\build\devel\src\board.cpp.o] Error 1
In file included from .pio/libdeps/devel/libAtoll/src/atoll_ota.h:4,
from .pio/libdeps/devel/libAtoll/src/atoll_wifi.h:11,
from src/WiFi.h:5,
from .pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:6,
from src/board.h:11,
from src/strain.cpp:1:
C:/Users/minPopp/.platformio/packages/framework-arduinoespressif32/libraries/ArduinoOTA/src/ArduinoOTA.h:89:5: error: 'WiFiUDP' does not name a type
WiFiUDP _udp_ota;
^~~~~~~
In file included from src/WiFi.h:5,
from .pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:6,
from src/board.h:11,
from src/strain.cpp:1:
.pio/libdeps/devel/libAtoll/src/atoll_wifi.h:73:26: error: 'arduino_event_id_t' has not been declared
virtual void onEvent(arduino_event_id_t event, arduino_event_info_t info);
^~~~~~~~~~~~~~~~~~
.pio/libdeps/devel/libAtoll/src/atoll_wifi.h:73:52: error: 'arduino_event_info_t' has not been declared
virtual void onEvent(arduino_event_id_t event, arduino_event_info_t info);
^~~~~~~~~~~~~~~~~~~~
In file included from .pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:6,
from src/board.h:11,
from src/strain.cpp:1:
src/WiFi.h:13:26: error: 'arduino_event_id_t' has not been declared
virtual void onEvent(arduino_event_id_t event, arduino_event_info_t info) override;
^~~~~~~~~~~~~~~~~~
src/WiFi.h:13:52: error: 'arduino_event_info_t' has not been declared
virtual void onEvent(arduino_event_id_t event, arduino_event_info_t info) override;
^~~~~~~~~~~~~~~~~~~~
In file included from src/board.h:11,
from src/strain.cpp:1:
.pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:54:5: error: 'WiFiServer' does not name a type; did you mean 'WifiSerial'?
WiFiServer _server;
^~~~~~~~~~
WifiSerial
In file included from .pio/libdeps/devel/libAtoll/src/atoll_ota.h:4,
from .pio/libdeps/devel/libAtoll/src/atoll_wifi.h:11,
from src/WiFi.h:5,
from .pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:6,
from src/board.h:11,
from src/mpu_temperature.cpp:3:
C:/Users/minPopp/.platformio/packages/framework-arduinoespressif32/libraries/ArduinoOTA/src/ArduinoOTA.h:89:5: error: 'WiFiUDP' does not name a type
WiFiUDP _udp_ota;
^~~~~~~
In file included from src/WiFi.h:5,
from .pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:6,
from src/board.h:11,
from src/mpu_temperature.cpp:3:
.pio/libdeps/devel/libAtoll/src/atoll_wifi.h:73:26: error: 'arduino_event_id_t' has not been declared
virtual void onEvent(arduino_event_id_t event, arduino_event_info_t info);
^~~~~~~~~~~~~~~~~~
.pio/libdeps/devel/libAtoll/src/atoll_wifi.h:73:52: error: 'arduino_event_info_t' has not been declared
virtual void onEvent(arduino_event_id_t event, arduino_event_info_t info);
^~~~~~~~~~~~~~~~~~~~
In file included from .pio/libdeps/devel/libAtoll/src/atoll_ota.h:4,
from .pio/libdeps/devel/libAtoll/src/atoll_wifi.h:11,
from src/WiFi.h:5,
from .pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:6,
from src/board.h:11,
from src/status.cpp:2:
C:/Users/minPopp/.platformio/packages/framework-arduinoespressif32/libraries/ArduinoOTA/src/ArduinoOTA.h:89:5: error: 'WiFiUDP' does not name a type
WiFiUDP _udp_ota;
^~~~~~~
In file included from .pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:6,
from src/board.h:11,
from src/mpu_temperature.cpp:3:
src/WiFi.h:13:26: error: 'arduino_event_id_t' has not been declared
virtual void onEvent(arduino_event_id_t event, arduino_event_info_t info) override;
^~~~~~~~~~~~~~~~~~
src/WiFi.h:13:52: error: 'arduino_event_info_t' has not been declared
virtual void onEvent(arduino_event_id_t event, arduino_event_info_t info) override;
^~~~~~~~~~~~~~~~~~~~
In file included from src/WiFi.h:5,
from .pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:6,
from src/board.h:11,
from src/status.cpp:2:
.pio/libdeps/devel/libAtoll/src/atoll_wifi.h:73:26: error: 'arduino_event_id_t' has not been declared
virtual void onEvent(arduino_event_id_t event, arduino_event_info_t info);
^~~~~~~~~~~~~~~~~~
.pio/libdeps/devel/libAtoll/src/atoll_wifi.h:73:52: error: 'arduino_event_info_t' has not been declared
virtual void onEvent(arduino_event_id_t event, arduino_event_info_t info);
^~~~~~~~~~~~~~~~~~~~
.pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:55:5: error: 'WiFiClient' does not name a type; did you mean 'DNSClient'?
WiFiClient _client;
^~~~~~~~~~
DNSClient
In file included from .pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:6,
from src/board.h:11,
from src/status.cpp:2:
src/WiFi.h:13:26: error: 'arduino_event_id_t' has not been declared
virtual void onEvent(arduino_event_id_t event, arduino_event_info_t info) override;
^~~~~~~~~~~~~~~~~~
src/WiFi.h:13:52: error: 'arduino_event_info_t' has not been declared
virtual void onEvent(arduino_event_id_t event, arduino_event_info_t info) override;
^~~~~~~~~~~~~~~~~~~~
In file included from src/board.h:11,
from src/mpu_temperature.cpp:3:
.pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:54:5: error: 'WiFiServer' does not name a type; did you mean 'WifiSerial'?
WiFiServer _server;
^~~~~~~~~~
WifiSerial
In file included from src/board.h:11,
from src/status.cpp:2:
.pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:54:5: error: 'WiFiServer' does not name a type; did you mean 'WifiSerial'?
WiFiServer _server;
^~~~~~~~~~
WifiSerial
In file included from .pio/libdeps/devel/libAtoll/src/atoll_ota.h:4,
from .pio/libdeps/devel/libAtoll/src/atoll_wifi.h:11,
from src/WiFi.h:5,
from .pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:6,
from src/board.h:11,
from src/power.cpp:2:
C:/Users/minPopp/.platformio/packages/framework-arduinoespressif32/libraries/ArduinoOTA/src/ArduinoOTA.h:89:5: error: 'WiFiUDP' does not name a type
WiFiUDP _udp_ota;
^~~~~~~
.pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:55:5: error: 'WiFiClient' does not name a type; did you mean 'DNSClient'?
WiFiClient _client;
^~~~~~~~~~
DNSClient
In file included from src/WiFi.h:5,
from .pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:6,
from src/board.h:11,
from src/power.cpp:2:
.pio/libdeps/devel/libAtoll/src/atoll_wifi.h:73:26: error: 'arduino_event_id_t' has not been declared
virtual void onEvent(arduino_event_id_t event, arduino_event_info_t info);
^~~~~~~~~~~~~~~~~~
.pio/libdeps/devel/libAtoll/src/atoll_wifi.h:73:52: error: 'arduino_event_info_t' has not been declared
virtual void onEvent(arduino_event_id_t event, arduino_event_info_t info);
^~~~~~~~~~~~~~~~~~~~
In file included from .pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:6,
from src/board.h:11,
from src/power.cpp:2:
src/WiFi.h:13:26: error: 'arduino_event_id_t' has not been declared
virtual void onEvent(arduino_event_id_t event, arduino_event_info_t info) override;
^~~~~~~~~~~~~~~~~~
src/WiFi.h:13:52: error: 'arduino_event_info_t' has not been declared
virtual void onEvent(arduino_event_id_t event, arduino_event_info_t info) override;
^~~~~~~~~~~~~~~~~~~~
.pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:55:5: error: 'WiFiClient' does not name a type; did you mean 'DNSClient'?
WiFiClient _client;
^~~~~~~~~~
DNSClient
In file included from src/board.h:11,
from src/power.cpp:2:
.pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:54:5: error: 'WiFiServer' does not name a type; did you mean 'WifiSerial'?
WiFiServer _server;
^~~~~~~~~~
WifiSerial
*** [.pio\build\devel\src\main.cpp.o] Error 1
.pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:55:5: error: 'WiFiClient' does not name a type; did you mean 'DNSClient'?
WiFiClient _client;
^~~~~~~~~~
DNSClient
In file included from .pio/libdeps/devel/libAtoll/src/atoll_ota.h:4,
from .pio/libdeps/devel/libAtoll/src/atoll_wifi.h:11,
from src/WiFi.h:5,
from .pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:6,
from src/board.h:11,
from src/temperature.cpp:4:
C:/Users/minPopp/.platformio/packages/framework-arduinoespressif32/libraries/ArduinoOTA/src/ArduinoOTA.h:89:5: error: 'WiFiUDP' does not name a type
WiFiUDP _udp_ota;
^~~~~~~
In file included from src/WiFi.h:5,
from .pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:6,
from src/board.h:11,
from src/temperature.cpp:4:
.pio/libdeps/devel/libAtoll/src/atoll_wifi.h:73:26: error: 'arduino_event_id_t' has not been declared
virtual void onEvent(arduino_event_id_t event, arduino_event_info_t info);
^~~~~~~~~~~~~~~~~~
.pio/libdeps/devel/libAtoll/src/atoll_wifi.h:73:52: error: 'arduino_event_info_t' has not been declared
virtual void onEvent(arduino_event_id_t event, arduino_event_info_t info);
^~~~~~~~~~~~~~~~~~~~
In file included from .pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:6,
from src/board.h:11,
from src/temperature.cpp:4:
src/WiFi.h:13:26: error: 'arduino_event_id_t' has not been declared
virtual void onEvent(arduino_event_id_t event, arduino_event_info_t info) override;
^~~~~~~~~~~~~~~~~~
src/WiFi.h:13:52: error: 'arduino_event_info_t' has not been declared
virtual void onEvent(arduino_event_id_t event, arduino_event_info_t info) override;
^~~~~~~~~~~~~~~~~~~~
In file included from .pio/libdeps/devel/libAtoll/src/atoll_ota.h:4,
from .pio/libdeps/devel/libAtoll/src/atoll_wifi.h:11,
from src/WiFi.h:5,
from .pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:6,
from src/board.h:11,
from src/wifi.cpp:1:
C:/Users/minPopp/.platformio/packages/framework-arduinoespressif32/libraries/ArduinoOTA/src/ArduinoOTA.h:89:5: error: 'WiFiUDP' does not name a type
WiFiUDP _udp_ota;
^~~~~~~
In file included from src/WiFi.h:5,
from .pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:6,
from src/board.h:11,
from src/wifi.cpp:1:
.pio/libdeps/devel/libAtoll/src/atoll_wifi.h:73:26: error: 'arduino_event_id_t' has not been declared
virtual void onEvent(arduino_event_id_t event, arduino_event_info_t info);
^~~~~~~~~~~~~~~~~~
.pio/libdeps/devel/libAtoll/src/atoll_wifi.h:73:52: error: 'arduino_event_info_t' has not been declared
virtual void onEvent(arduino_event_id_t event, arduino_event_info_t info);
^~~~~~~~~~~~~~~~~~~~
In file included from .pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:6,
from src/board.h:11,
from src/wifi.cpp:1:
src/WiFi.h:13:26: error: 'arduino_event_id_t' has not been declared
virtual void onEvent(arduino_event_id_t event, arduino_event_info_t info) override;
^~~~~~~~~~~~~~~~~~
src/WiFi.h:13:52: error: 'arduino_event_info_t' has not been declared
virtual void onEvent(arduino_event_id_t event, arduino_event_info_t info) override;
^~~~~~~~~~~~~~~~~~~~
In file included from src/board.h:11,
from src/temperature.cpp:4:
.pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:54:5: error: 'WiFiServer' does not name a type; did you mean 'WifiSerial'?
WiFiServer _server;
^~~~~~~~~~
WifiSerial
In file included from .pio/libdeps/devel/libAtoll/src/atoll_ota.h:4,
from .pio/libdeps/devel/libAtoll/src/atoll_wifi.h:11,
from src/WiFi.h:5,
from .pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:6,
from src/board.h:11,
from src/temperature_compensation.cpp:4:
C:/Users/minPopp/.platformio/packages/framework-arduinoespressif32/libraries/ArduinoOTA/src/ArduinoOTA.h:89:5: error: 'WiFiUDP' does not name a type
WiFiUDP _udp_ota;
^~~~~~~
In file included from src/board.h:11,
from src/wifi.cpp:1:
.pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:54:5: error: 'WiFiServer' does not name a type; did you mean 'WifiSerial'?
WiFiServer _server;
^~~~~~~~~~
WifiSerial
.pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:55:5: error: 'WiFiClient' does not name a type; did you mean 'DNSClient'?
WiFiClient _client;
^~~~~~~~~~
DNSClient
In file included from src/WiFi.h:5,
from .pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:6,
from src/board.h:11,
from src/temperature_compensation.cpp:4:
.pio/libdeps/devel/libAtoll/src/atoll_wifi.h:73:26: error: 'arduino_event_id_t' has not been declared
virtual void onEvent(arduino_event_id_t event, arduino_event_info_t info);
^~~~~~~~~~~~~~~~~~
.pio/libdeps/devel/libAtoll/src/atoll_wifi.h:73:52: error: 'arduino_event_info_t' has not been declared
virtual void onEvent(arduino_event_id_t event, arduino_event_info_t info);
^~~~~~~~~~~~~~~~~~~~
In file included from .pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:6,
from src/board.h:11,
from src/temperature_compensation.cpp:4:
src/WiFi.h:13:26: error: 'arduino_event_id_t' has not been declared
virtual void onEvent(arduino_event_id_t event, arduino_event_info_t info) override;
^~~~~~~~~~~~~~~~~~
src/WiFi.h:13:52: error: 'arduino_event_info_t' has not been declared
virtual void onEvent(arduino_event_id_t event, arduino_event_info_t info) override;
^~~~~~~~~~~~~~~~~~~~
.pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:55:5: error: 'WiFiClient' does not name a type; did you mean 'DNSClient'?
WiFiClient _client;
^~~~~~~~~~
DNSClient
In file included from src/board.h:11,
from src/temperature_compensation.cpp:4:
.pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:54:5: error: 'WiFiServer' does not name a type; did you mean 'WifiSerial'?
WiFiServer _server;
^~~~~~~~~~
WifiSerial
.pio/libdeps/devel/libAtoll/src/atoll_wifi_serial.h:55:5: error: 'WiFiClient' does not name a type; did you mean 'DNSClient'?
WiFiClient _client;
^~~~~~~~~~
DNSClient
*** [.pio\build\devel\src\motion.cpp.o] Error 1
src/wifi.cpp:4:20: error: variable or field 'onEvent' declared void
void Wifi::onEvent(arduino_event_id_t event, arduino_event_info_t info) {
^~~~~~~~~~~~~~~~~~
src/wifi.cpp:4:20: error: 'arduino_event_id_t' was not declared in this scope
*** [.pio\build\devel\src\strain.cpp.o] Error 1
*** [.pio\build\devel\src\mpu_temperature.cpp.o] Error 1
src/wifi.cpp:4:20: note: suggested alternative: 'arduino_phy_init'
void Wifi::onEvent(arduino_event_id_t event, arduino_event_info_t info) {
^~~~~~~~~~~~~~~~~~
arduino_phy_init
src/wifi.cpp:4:46: error: 'arduino_event_info_t' was not declared in this scope
void Wifi::onEvent(arduino_event_id_t event, arduino_event_info_t info) {
^~~~~~~~~~~~~~~~~~~~
*** [.pio\build\devel\src\status.cpp.o] Error 1
*** [.pio\build\devel\src\power.cpp.o] Error 1
src/wifi.cpp:4:46: note: suggested alternative: 'arduino_phy_init'
void Wifi::onEvent(arduino_event_id_t event, arduino_event_info_t info) {
^~~~~~~~~~~~~~~~~~~~
arduino_phy_init
*** [.pio\build\devel\src\temperature.cpp.o] Error 1
*** [.pio\build\devel\src\temperature_compensation.cpp.o] Error 1
*** [.pio\build\devel\src\wifi.cpp.o] Error 1
=================================================================================================== [FAILED] Took 7.37 seconds ===================================================================================================
Environment Status Duration
------------- -------- ------------
devel FAILED 00:00:07.368
============================================================================================= 1 failed, 0 succeeded in 00:00:07.368 =============================================================================================
* The terminal process "C:\Users\minPopp\.platformio\penv\Scripts\platformio.exe 'run'" terminated with exit code: 1.
* Terminal will be reused by tasks, press any key to close it.
Interestingly, VSCode can resolve the WifiUDP class. Maybe it's also an issue on my side
from espm.
I've uncommented some more dependencies and ran a full build, no errors here.
I think the culprit is the different libAtoll versions:
- you have: libAtoll @ 1.0.0+sha.1748cd7
- I have: libAtoll @ 1.0.0+sha.f0e9fe6
but I don't know where this comes from.
from espm.
Interesting
I updated the platform.ini file so it should use the exact versions that you use:
[env]
platform = [email protected]
; platform = https://github.com/platformio/platform-espressif32.git#master
platform_packages = [email protected]
; Disable dynamic toolchain configuration for upstream Arduino packages
; board_build.arduino.upstream_packages = no
board = lolin32_lite
framework = arduino
lib_extra_dirs = ~/wrk/libs
; lib_ldf_mode = deep+
lib_deps =
https://github.com/gsoros/libatoll.git#f0e9fe6
https://github.com/gsoros/MPU9250.git#0502235
;https://github.com/h2zero/NimBLE-Arduino.git#master
https://github.com/gsoros/NimBLE-Arduino.git#4cfd61a
https://github.com/gsoros/HX711_ADC.git#76d8e7d
;rlogiacco/CircularBuffer@^1.3.3
https://github.com/gsoros/CircularBuffer.git#14af958
https://github.com/gsoros/VescUart.git#5d7b831
;https://github.com/PaulStoffregen/OneWire.git
https://github.com/gsoros/OneWire.git#b175ac0
;https://github.com/milesburton/Arduino-Temperature-Control-Library.git
https://github.com/gsoros/Arduino-Temperature-Control-Library.git
and according to my build log it uses the same now. But somehow, it still fails...
from espm.
Can you check if the file C:/Users/minPopp/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiUdp.h is present?
from espm.
In the packages folder i have contains three framework-arduinoespressif32
folders:
framework-arduinoespressif32
[email protected]
[email protected]
and all of them contain a WiFiUdp.h
in libraries/WiFi/src/
from espm.
Hmm, in that case I'm out of ideas, because your first error is "'WiFiUDP' does not name a type" while it is defined in that file.
Maybe delete the .pio folder in the project and retry?
from espm.
Related Issues (4)
- photo upload HOT 2
- Negative Torque Method HOT 2
- 'BLEConnInfo' has not been declared HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from espm.