I´m using Arduino mega 2560 with ESP8266 on board (Wemos). One month ago I was compiling the same code without problems. Now I´m getting this error in compiler, after an update in Blynk library:
Thanks for any help.
In file included from C:\Users\rptma\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkApi.h:36:0,
from C:\Users\rptma\Documents\Arduino\libraries\Blynk\src/BlynkApiArduino.h:14,
from C:\Users\rptma\Documents\Arduino\libraries\Blynk_Esp8266AT_WM\src/BlynkSimpleShieldEsp8266.h:58,
from E:\Dropbox\MEUS ARQUIVOS\Arduino\Projetos\AutomatroX\RF_NETWORK_MEGA\RF_NETWORK_MEGA.ino:4:
C:\Users\rptma\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkParam.h: In member function ‘long long int BlynkParam::iterator::asLongLong() const’:
C:\Users\rptma\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkParam.h:48:50: error: ‘atoll’ was not declared in this scope
long long asLongLong() const { return atoll(ptr); }
^~~~~
C:\Users\rptma\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkParam.h:48:50: note: suggested alternative: ‘atol’
long long asLongLong() const { return atoll(ptr); }
^~~~~
atol
C:\Users\rptma\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkParam.h: In member function ‘long long int BlynkParam::asLongLong() const’:
C:\Users\rptma\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkParam.h:89:46: error: ‘atoll’ was not declared in this scope
long long asLongLong() const { return atoll(buff); }
^~~~~
C:\Users\rptma\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkParam.h:89:46: note: suggested alternative: ‘atol’
long long asLongLong() const { return atoll(buff); }
^~~~~
atol
Foram encontradas múltiplas bibliotecas para “BlynkSimpleShieldEsp8266.h”
Usado: C:\Users\rptma\Documents\Arduino\libraries\Blynk_Esp8266AT_WM
Não usado: C:\Users\rptma\Documents\Arduino\libraries\Blynk