Fail to compíle to Arduino Mega2560 with ESP8266 (WEMOS) - "Atol was not declared in this scope"

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

Blynk library version?

Pete.

I use this two libraries:

Uninstall the beta library and install 0.6.1 instead.

Pete.

1 Like

It worked!
Thank you Pete!

Which is why you should always provide the full information requested when you create a topic here!

Pete.

1 Like

Im sorry, that was my first post and I´m just a hobbyst.
But again thank you very much for your time and help. :slightly_smiling_face: