Error compiling Arduino BlynkEdgent example script

In file included from /Users/williamboatright/Documents/Arduino/libraries/blynk-library-1.1.0/src/Blynk/BlynkApi.h:36:0,
from /Users/williamboatright/Documents/Arduino/libraries/blynk-library-1.1.0/src/BlynkApiArduino.h:14,
from /Users/williamboatright/Documents/Arduino/libraries/blynk-library-1.1.0/src/BlynkSimpleEsp32_SSL.h:21,
from /private/var/folders/sm/s8zs26kd6dvgpr0hfh4xkh5w0000gn/T/.arduinoIDE-unsaved20221122-76442-s9udq1.89inp/Edgent_ESP32/BlynkEdgent.h:8,
from /private/var/folders/sm/s8zs26kd6dvgpr0hfh4xkh5w0000gn/T/.arduinoIDE-unsaved20221122-76442-s9udq1.89inp/Edgent_ESP32/Edgent_ESP32.ino:19:
/private/var/folders/sm/s8zs26kd6dvgpr0hfh4xkh5w0000gn/T/.arduinoIDE-unsaved20221122-76442-s9udq1.89inp/Edgent_ESP32/ConfigStore.h: In function ‘bool config_load_blnkopt()’:
/private/var/folders/sm/s8zs26kd6dvgpr0hfh4xkh5w0000gn/T/.arduinoIDE-unsaved20221122-76442-s9udq1.89inp/Edgent_ESP32/ConfigStore.h:75:29: error: expected ‘,’ or ‘;’ before ‘BLYNK_WIFI_SSID’
BLYNK_PARAM_KV(“ssid” , BLYNK_WIFI_SSID)
^
/Users/williamboatright/Documents/Arduino/libraries/blynk-library-1.1.0/src/Blynk/BlynkParam.h:19:37: note: in definition of macro ‘BLYNK_PARAM_KV’
#define BLYNK_PARAM_KV(k, v) k “\0” v “\0”
^
Multiple libraries were found for “BlynkSimpleEsp32_SSL.h”
Used: /Users/williamboatright/Documents/Arduino/libraries/blynk-library-1.1.0
Not used: /Users/williamboatright/Documents/Arduino/libraries/blynk-library-master
exit status 1

Compilation error: expected ‘,’ or ‘;’ before ‘BLYNK_WIFI_SSID’

My guess is that you’ve created a template, then created a device from that template, then copied the three lines of firmware configuration code from the device into the Edgent sketch.

If this is the case then delete the device from the web console, copy the two lines of configuration data from the template and paste these into your sketch and re-compile.

Pete.

Pete, thank you. that was exactly the problem. Newbies always find problem.

Bill

1 Like