'base64_encode' was not declared in this scope

8 years 1 week ago #3187 by Adamyno
I tried the ESP8266 WiFi DS18B20 temperature sensor example, after verification in Arduino IDE I get an error message:

'base64_encode' was not declared in this scope

I tried Arduino IDE 1.6.5, 1.6.7, and 1.6.8 but no changes.
What can be wrong?

Please Log in or Create an account to join the conversation.

8 years 1 week ago #3189 by EasyIoT

Adamyno wrote: I tried the ESP8266 WiFi DS18B20 temperature sensor example, after verification in Arduino IDE I get an error message:

'base64_encode' was not declared in this scope

I tried Arduino IDE 1.6.5, 1.6.7, and 1.6.8 but no changes.
What can be wrong?


Do you have Base64 lib? See this thread:
iot-playground.com/forum/esp8266-easyiot...base64-h-help-please

Please Log in or Create an account to join the conversation.

8 years 1 week ago #3192 by Adamyno
Yes, I have this: github.com/adamvr/arduino-base64
I tried that #2283 also but nothing :unsure:

Please Log in or Create an account to join the conversation.

8 years 1 week ago #3196 by chocjulio33
I solved this by downloading the base64 library from forum here and extracting it to the arduino sketch folder i was working in and changing the include to from this

#include <Base64.h>

to This
#include "Base64.h"

not the best solution but im working in arduino 1.6.4! Also remember arduino can have two library folders and base64 can conflict if in both! also I found base64 references in the iot code conflicting! Make sure you find a combo that works!

Chocjulio

Please Log in or Create an account to join the conversation.

8 years 6 days ago #3202 by Adamyno
Unfortunately it doesn't help.

Please Log in or Create an account to join the conversation.

8 years 6 days ago #3203 by chocjulio33
it worked for me no problems make sure you delete the following base64 and easyiot libraries from

C:\Program Files (x86)\Arduino\libraries

Also confirm they do not exit in you Arduino Documents Folder located in

C:\Users\chocjulio\Documents\Arduino\libraries

Now create a new arduino project in

C:\Users\chocjulio\Documents\Arduino\NewESP8266Project\

Copy your arduino sketch and the contents of the base64.zip to this new folder remember arduino wants the sketchname to match the folder name
if that doesnt work i would uninstall arduino delete and residual folders and start over it will work! Or atleast it did for me!

Chocjulio

Please Log in or Create an account to join the conversation.

Time to create page: 0.272 seconds

Forum latest

  • No posts to display.