You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I really like this library and the enhancements made above v1.4.0 sound great, along with the added PlatformIO compatibility being added on v1.5.0. Yesterday I was working on getting back into updating some of my projects and doing all the work in PlatformIO as I move forward. But I could not get my projects to compile when I add this library.
In Troubleshooting, I find that I was still using v1.4.0 with Arduino IDE so I could continue using pubsubclient with this library because I use them together on many of my projects. But I would like to try versions above 1.4.0 on my projects and use PlatformIO if there is a work around or a fix.
#include <Arduino.h>
//#include <WiFi.h> // WiFi module
#include <PubSubClient.h> // MQTT
///#include <WebServer.h> // for OTA
///#include <ESPmDNS.h> // for OTA
//#include <Update.h> // for OTA
//#include <Wire.h> // for BME280
//#include <Adafruit_Sensor.h> // for BME280
//#include <Adafruit_BME280.h> // for BME280
#include <dimmable_light.h> // for Dimmer
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
It gives about 80 errors with most being about things from ArduinoSTL not being declared...
Library version: [eg: 1.5.0 & 1.6.0]
Arduino core: [eg: SAMD v1.8.13]
Enviroment/IDE: PlatformIO
Dimmer board: RobotDYN
Board: ESP32Dev
The text was updated successfully, but these errors were encountered:
Move the Dimmable Light library from .pio/build/libdeps/esp32dev into the /lib folder.
Delete the library form the lib_deps in your platformio.ini
Delete the ArduinoSTL library from .pio/build/libdeps/esp32dev
I really like this library and the enhancements made above v1.4.0 sound great, along with the added PlatformIO compatibility being added on v1.5.0. Yesterday I was working on getting back into updating some of my projects and doing all the work in PlatformIO as I move forward. But I could not get my projects to compile when I add this library.
In Troubleshooting, I find that I was still using v1.4.0 with Arduino IDE so I could continue using pubsubclient with this library because I use them together on many of my projects. But I would like to try versions above 1.4.0 on my projects and use PlatformIO if there is a work around or a fix.
[env:esp32dev]
platform = espressif32
;platform = espressif32 @ 6.8.1
board = esp32dev
framework = arduino
;framework = arduino,
monitor_speed = 115200
lib_deps =
knolleary/PubSubClient@^2.8
;PubSubClient
;adafruit/Adafruit Unified Sensor@^1.1.14
;adafruit/Adafruit BME280 Library@^2.2.4
fabianoriccardi/Dimmable Light for Arduino@^1.5.0
;adafruit/Adafruit BusIO@^1.16.2
;Wire
;SPI
;mike-matera/ArduinoSTL@^1.3.3
#include <Arduino.h>
//#include <WiFi.h> // WiFi module
#include <PubSubClient.h> // MQTT
///#include <WebServer.h> // for OTA
///#include <ESPmDNS.h> // for OTA
//#include <Update.h> // for OTA
//#include <Wire.h> // for BME280
//#include <Adafruit_Sensor.h> // for BME280
//#include <Adafruit_BME280.h> // for BME280
#include <dimmable_light.h> // for Dimmer
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
It gives about 80 errors with most being about things from ArduinoSTL not being declared...
The text was updated successfully, but these errors were encountered: