zpukr / esp8266-WindStation

Simply weather station on ESP8266
42 stars 6 forks source link

Issue with the compilation #10

Closed Foinard closed 2 years ago

Foinard commented 3 years ago

I downloaded the library ArduinoJson and WiFiManager but still encountered many problems with the compilation First thing first "byte is too ambiguous" or "undef" I tried to put or the command typedef uint8_t byte; And it still doesn't work Also "mqtt_server isn't defined do you mean mqtt_user ?" I recommand you to try the program by yourself after downloading these both libraries If anyone know what should I do thank you in advance

Foinard commented 3 years ago

By quickly making researches on the internet I found out that this might be linked to a recent update The file is two years old maybe this is linked

Foinard commented 3 years ago

Some commands aren’t defined correctly and when I try to define them with what I found on the internet it recreates some compilation problems because the program itself is working with those definitions im lost…

Foinard commented 2 years ago

Okay so I made quite a long time figuring out where was the issue Firstly you have to download ArduinoJson in the library manager And more importantly, you have to download the version 2.7.4 of esp 8266 in the board manager ( the newer versions won't work )