Open iamandymcinnes opened 3 years ago
Not sure, but there could be something wrong with the c++ version your comiler assumes. Hard to say without more details, f.ex. what compiler are you using (gcc?) and how you are compiling this (PlatformIO?).
I have the same issue as "iamandymcinnes" Can anyone help us ? I am not used also in PlatformIO . If i upload the hex file , is the Wifi Manager working ? Serial does not seem to respond . Thanks .
Try "Clean" by clicking the trash can icon.
Update: I have the same issue after removing all frameworks. Other versions compile fine hut have issues with WiFi. You can try changing the framework version to 2.6.3 to see if it works.(Mine can't connect to WiFi.)
I've just pulled the latest, and I've been through and updated everything platform and library, but when I try to build either the esp8266-dev project I just get ton's of errors:
Processing esp8266-dev (platform: espressif8266@~2.2.0; board: nodemcuv2; framework: arduino) ------------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via
-v, --verbose
option CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/nodemcuv2.html PLATFORM: Espressif 8266 (2.2.3) > NodeMCU 1.0 (ESP-12E Module) HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash PACKAGES:270
271
from C:\users\mcinnesa.platformio\packages\framework-arduinoespressif8266@2.20502.0\cores\esp8266/Arduino.h:27, from src\BrewPiProxy.h:4, from src\BrewLogger.cpp:1: C:\users\mcinnesa.platformio\packages\framework-arduinoespressif8266@2.20502.0\tools\sdk\libc\xtensa-lx106-elf\include/sys/reent.h:405:11: warning: unnecessary parentheses in declaration of '_sig_func' [-Wparentheses] 405
271
271
~~~~~~ *** [.pio\build\esp8266-dev\src\BrewPiProxy.cpp.o] Error 1 In file included from src\BrewPiProxy.h:4, from src\BrewLogger.cpp:1: C:\users\mcinnesa.platformio\packages\framework-arduinoespressif8266@2.20502.0\cores\esp8266/Arduino.h:270:12: error: 'isinf' has not been declared in 'std'270
from C:\users\mcinnesa.platformio\packages\framework-arduinoespressif8266@2.20502.0\cores\esp8266/WString.h:26, from C:\users\mcinnesa.platformio\packages\framework-arduinoespressif8266@2.20502.0\cores\esp8266/IPAddress.h:24, from C:\users\mcinnesa.platformio\packages\framework-arduinoespressif8266@2.20502.0\libraries\ESP8266WiFi\src/ESP8266WiFi.h:31, from src\BrewPiLess.cpp:2: C:\users\mcinnesa.platformio\packages\framework-arduinoespressif8266@2.20502.0\tools\sdk\libc\xtensa-lx106-elf\include/sys/reent.h:405:11: warning: unnecessary parentheses in declaration of '_sig_func' [-Wparentheses] 405
270
271
270
271
270
271
~~~~~~ In file included from c:\dev\brewpiless.pio\libdeps\esp8266-dev\arduinojson\src\arduinojson\operators\VariantCasts.hpp:7, from c:\dev\brewpiless.pio\libdeps\esp8266-dev\arduinojson\src\arduinojson\operators\variantoperators.hpp:7, from .pio\libdeps\esp8266-dev\ArduinoJson\src/ArduinoJson/Array/../Variant/VariantRef.hpp:12, from .pio\libdeps\esp8266-dev\ArduinoJson\src/ArduinoJson/Array/ArrayIterator.hpp:8, from .pio\libdeps\esp8266-dev\ArduinoJson\src/ArduinoJson/Array/ArrayRef.hpp:9, from .pio\libdeps\esp8266-dev\ArduinoJson\src/ArduinoJson.hpp:17, from .pio\libdeps\esp8266-dev\ArduinoJson\src/ArduinoJson.h:9, from src\BrewKeeper.cpp:2: .pio\libdeps\esp8266-dev\ArduinoJson\src/ArduinoJson/MsgPack/MsgPackSerializer.hpp:28:7: error: attributes are not allowed on a function-definition 28~~~~~~ *** [.pio\build\esp8266-dev\src\AutoCapControl.cpp.o] Error 1 In file included from src\BrewPiProxy.h:5, from src\BrewKeeper.cpp:5: src\BrewKeeper.cpp: In member function 'float BrewProfile::tempByTimeGravity(time_t, Gravity)': src\BrewKeeper.cpp:250:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'uint32_t' {aka 'unsigned int'} [-Wformat=] 250~~~~~~~~~~~~~~~~~~~~ src\Config.h:554:42: note: in definition of macro 'DBG_PRINTF' 554~~src\BrewKeeper.cpp:250:94: note: format string is defined here 250[.pio\build\esp8266-dev\src\BrewKeeper.cpp.o] Error 1 In file included from C:\users\mcinnesa.platformio\packages\framework-arduinoespressif8266@2.20502.0\libraries\ESP8266WiFi\src/WiFiClient.h:25, from C:\users\mcinnesa.platformio\packages\framework-arduinoespressif8266@2.20502.0\libraries\ESP8266WiFi\src/ESP8266WiFi.h:39, from src\BrewPiLess.cpp:2: C:\users\mcinnesa.platformio\packages\framework-arduinoespressif8266@2.20502.0\cores\esp8266/Arduino.h:270:12: error: 'isinf' has not been declared in 'std'
270 | using std::isinf; | ^~~~~ C:\users\mcinnesa.platformio\packages\framework-arduinoespressif8266@2.20502.0\cores\esp8266/Arduino.h:271:12: error: 'isnan' has not been declared in 'std'
271 | using std::isnan; | ^~~~~ [.pio\build\esp8266-dev\src\BPLSettings.cpp.o] Error 1 In file included from c:\dev\brewpiless.pio\libdeps\esp8266-dev\arduinojson\src\arduinojson\operators\VariantCasts.hpp:7, from c:\dev\brewpiless.pio\libdeps\esp8266-dev\arduinojson\src\arduinojson\operators\variantoperators.hpp:7, from .pio\libdeps\esp8266-dev\ArduinoJson\src/ArduinoJson/Array/../Variant/VariantRef.hpp:12, from .pio\libdeps\esp8266-dev\ArduinoJson\src/ArduinoJson/Array/ArrayIterator.hpp:8, from .pio\libdeps\esp8266-dev\ArduinoJson\src/ArduinoJson/Array/ArrayRef.hpp:9, from .pio\libdeps\esp8266-dev\ArduinoJson\src/ArduinoJson.hpp:17, from .pio\libdeps\esp8266-dev\ArduinoJson\src/ArduinoJson.h:9, from src\BrewPiLess.cpp:17: .pio\libdeps\esp8266-dev\ArduinoJson\src/ArduinoJson/MsgPack/MsgPackSerializer.hpp:28:7: error: attributes are not allowed on a function-definition 28 | ARDUINOJSON_NO_SANITIZE("float-cast-overflow") { | ^
~~~~~~ *** [.pio\build\esp8266-dev\src\BrewPiLess.cpp.o] Error 1 ================================================================== [FAILED] Took 12.14 seconds ==================================================================Environment Status Duration
esp8266-dev FAILED 00:00:12.141 ============================================================= 1 failed, 0 succeeded in 00:00:12.141 ============================================================= The terminal process "C:\Users\mcinnesa.platformio\penv\Scripts\pio.exe 'run', '--environment', 'esp8266-dev'" terminated with exit code: 1.
Terminal will be reused by tasks, press any key to close it.