Ubidots Community

[SOLVED] Compilation error

HI, I am trying to upload example “publish”, but i get this error message.

f:\Arduino\libraries\Ubidots_MQTT_for_ESP8266\src\UbidotsESPMQTT.cpp: In member function 'bool Ubidots::wifiConnection(char*, char*)':
f:\Arduino\libraries\Ubidots_MQTT_for_ESP8266\src\UbidotsESPMQTT.cpp:196:1: warning: no return statement in function returning non-void [-Wreturn-type]
  196 | }
      | ^
Используем библиотеку Ubidots_MQTT_for_ESP8266 версии 1.1 из папки: f:\Arduino\libraries\Ubidots_MQTT_for_ESP8266 
Используем библиотеку pubsubclient-master версии 1.99.1 из папки: f:\Arduino\libraries\pubsubclient-master 
Используем библиотеку ESP8266WiFi версии 1.0 из папки: C:\Users\olscr\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\libraries\ESP8266WiFi 
exit status 1
Ошибка компиляции для платы Generic ESP8266 Module.

full message in the file
error .txt (57.8 KB)

I fixed it. U need download libraries from github, not other sites.

Good luck)

1 Like

Hi @olscraft,

Thank you for sharing the solution with the community.

All the best,