Open nocturno66 opened 2 years ago
I have a similar story, it this project doesn't want to build in platformio for esp32. Likely because nothing is versioned it just pointes to the latest everything
I haven't worked on this project since a while, that's true that the libraries should have versionned. The last commit is Aug 10, 2022, it was compiling correctly at this time so may be just versionning each library to this corresponding date should help.
Hi Schmurtzm, I have a problem compiling your code with library IotWebConf. I have installed versión 3.2.0 of these library but the error persist.
You can view the LOG attached.
Can you help me? Thanks you in advance
Processing nodemcuv2 (platform: espressif8266; framework: arduino; board: esp12e) ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via
-v, --verbose
option CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/esp12e.html PLATFORM: Espressif 8266 (3.2.0) > Espressif ESP8266 ESP-12E HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash PACKAGES:~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from C:/Users/nocturno/Documents/PlatformIO/Projects/220721-131454-nodemcuv2/src/esp8266_mrdiy_mqtt_local_notifier.ino:91: .pio\libdeps\nodemcuv2\IotWebConf\src/IotWebConf.h:579:18: note: declared private here 579~~~~~ C:/Users/nocturno/Documents/PlatformIO/Projects/220721-131454-nodemcuv2/src/esp8266_mrdiy_mqtt_local_notifier.ino:159:28: error: 'mqttServerParam' was not declared in this scope; did you mean 'mqttServer'? 159~~~~~~~~~ In file included from C:/Users/nocturno/Documents/PlatformIO/Projects/220721-131454-nodemcuv2/src/esp8266_mrdiy_mqtt_local_notifier.ino:91: .pio\libdeps\nodemcuv2\IotWebConf\src/IotWebConf.h:579:18: note: declared private here 579~~~~~ C:/Users/nocturno/Documents/PlatformIO/Projects/220721-131454-nodemcuv2/src/esp8266_mrdiy_mqtt_local_notifier.ino:160:28: error: 'mqttUserNameParam' was not declared in this scope; did you mean 'mqttUserName'? 160~~~~~~~ In file included from C:/Users/nocturno/Documents/PlatformIO/Projects/220721-131454-nodemcuv2/src/esp8266_mrdiy_mqtt_local_notifier.ino:91: .pio\libdeps\nodemcuv2\IotWebConf\src/IotWebConf.h:579:18: note: declared private here 579~~~~~ C:/Users/nocturno/Documents/PlatformIO/Projects/220721-131454-nodemcuv2/src/esp8266_mrdiy_mqtt_local_notifier.ino:161:28: error: 'mqttUserPasswordParam' was not declared in this scope; did you mean 'mqttUserPassword'? 161~~~~~~~ In file included from C:/Users/nocturno/Documents/PlatformIO/Projects/220721-131454-nodemcuv2/src/esp8266_mrdiy_mqtt_local_notifier.ino:91: .pio\libdeps\nodemcuv2\IotWebConf\src/IotWebConf.h:579:18: note: declared private here 579~~~~~ C:/Users/nocturno/Documents/PlatformIO/Projects/220721-131454-nodemcuv2/src/esp8266_mrdiy_mqtt_local_notifier.ino:162:28: error: 'mqttTopicParam' was not declared in this scope; did you mean 'mqttTopic'? 162~~~~~~~~~~In file included from C:/Users/nocturno/Documents/PlatformIO/Projects/220721-131454-nodemcuv2/src/esp8266_mrdiy_mqtt_local_notifier.ino:91: .pio\libdeps\nodemcuv2\IotWebConf\src/IotWebConf.h:301:83: note: initializing argument 1 of 'void iotwebconf::IotWebConf::setFormValidator(std::function<bool(iotwebconf::WebRequestWrapper)>)' 301 | void setFormValidator(std::function<bool(WebRequestWrapper webRequestWrapper)> func); |
~~~~~~~~~~~~^~ C:/Users/nocturno/Documents/PlatformIO/Projects/220721-131454-nodemcuv2/src/esp8266_mrdiy_mqtt_local_notifier.ino: In function 'boolean formValidator()': C:/Users/nocturno/Documents/PlatformIO/Projects/220721-131454-nodemcuv2/src/esp8266_mrdiy_mqtt_local_notifier.ino:438:22: error: 'mqttServerParam' was not declared in this scope; did you mean 'mqttServer'? 438 | int l = server.arg(mqttServerParam.getId()).length(); | ^~~~~~~ | mqttServer *** [.pio\build\nodemcuv2\src\esp8266_mrdiy_mqtt_local_notifier.ino.cpp.o] Error 1 ============================================================================================================================= [FAILED] Took 19.93 seconds =============================================================================================================================