Hello guys,
I followed this tutorial:
http://www.esp8266.nu/index.php/Tutoria ... are_Upload
I pasted the libraries in the right folders and I updated all of them.
after following all the steps is gain this error:
'emergencyReset' was not declared in this scope
I simply "fixed" this error by updating the libraries.
but now i keep getting this error and i don't know how to fix this.
no matching function for call to 'PubSubClient::PubSubClient(const char [1])'
can you guys help me?
no matching function for call to 'PubSubClient::PubSubClient(const char [1])'
Moderators: grovkillen, Stuntteam, TD-er
Re: no matching function for call to 'PubSubClient::PubSubClient(const char [1])'
Maybe try the direct bin file upload tool:
http://www.esp8266.nu/downloads/ESPEasy_R78.zip
http://www.esp8266.nu/downloads/ESPEasy_R78.zip
Re: no matching function for call to 'PubSubClient::PubSubClient(const char [1])'
If you get "'emergencyReset' was not declared in this scope" you have most likely installed a version of the Arduino IDE newer than 1.6.5, which have some issues with ESPEasy. Updating the libraries will not fix that. For now you need to use IDE 1.6.5.Tim- wrote: I followed this tutorial:
http://www.esp8266.nu/index.php/Tutoria ... are_Upload
I pasted the libraries in the right folders and I updated all of them.
after following all the steps is gain this error:
'emergencyReset' was not declared in this scope
I simply "fixed" this error by updating the libraries.
but now i keep getting this error and i don't know how to fix this.
no matching function for call to 'PubSubClient::PubSubClient(const char [1])'
can you guys help me?
With regards to the pubsubclient library - there's 2 versions of the library - unfortunately they are named identically and you need to look at what source files comes with the library to tell the difference, and they have different API's. The version that comes with ESPeasy is different from the one that's installed through the IDE library manager. You need to use the version, that comes with ESPeasy (or get the correct version from github - https://github.com/Imroy/pubsubclient)
- Jan
Jan Chrillesen, Denmark
Re: no matching function for call to 'PubSubClient::PubSubClient(const char [1])'
Hallo,
Thank for helping!
I indeed had a newer version of arduino (1.6.7). I didn't know there was much difference between the versions of arduino.
after deleting and istalling the 1.6.5 version there were no errors.
Thank for helping!
I indeed had a newer version of arduino (1.6.7). I didn't know there was much difference between the versions of arduino.
after deleting and istalling the 1.6.5 version there were no errors.
Re: no matching function for call to 'PubSubClient::PubSubClient(const char [1])'
looks like "SOLVED" ...


Who is online
Users browsing this forum: Ahrefs [Bot] and 14 guests