Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By danbicks
#22698 Hi,

I download your example and the library you recommended from vicatu that allows late binding of MQTT service. I am trying to compile this using Arduino IDE 1.6.4 and encounter the following error:


In file included from MQTT_WEB_CONFIG_VITU.ino:31:0:
C:\ARDUINO\arduino-1.6.4\arduino-1.6.4\libraries\PubSubClient/PubSubClient.h:80:46: error: section attribute not allowed for '<anonymous>'
boolean publish_P(char *, uint8_t PROGMEM *, unsigned int, boolean);
^
Error compiling

Did you encounter a similar problem?

Cheers Dans
User avatar
By biobier
#22707 Hi Dans,

not sure if that might be the reason but I have the lib under C:\Users\USERNAME\Documents\Arduino\libraries\PubSubClient
I've attached my files.
Can you maybe post your sketch?

Best regards
-Bio
You do not have the required permissions to view the files attached to this post.
Last edited by biobier on Wed Jul 08, 2015 12:54 am, edited 1 time in total.