I am making ESP8266 project to link to Thinger io cloud using thinger.io library 2.13.0 using PlatformIO core 3.6.7 and Arduino framework.
When building project many errors generated pointing that missed (;)s in thiner.io source .CPP file but actually same code is working properly without ant modifications on Arduino IDE 1.8.9
There is an actual error in that library… unforturnately, as always, it’s not where the compiler says it it… it’s just that it realised by that point there is an error. :-/
On line 82 of thinger_resource.hpp, there is a ; missing.
Easiest way to get to it is to build the code again, and then when the build errors appear, Ctrl+click on that first one to open it, and it will jump to line 87… then add that missing ; to 82, and it should be fine.
btw, you can add lib_deps = thinger.io to your platformio.ini so that platformio can install / update the library itself.
PS: Actually, if do you lib_deps = https://github.com/thinger-io/Arduino-Library/archive/2.13.0.zip instead of the one I gave above, you’ll get the fixed version of that library. I was about to submit a pull request with the correction, then realised it’s already fixed… but for some reason platformio is getting wrong version somehow? You may need to delete the .piolibdeps folder to make sure you don’t have two different copies of that library in your project.
@ivankravets What needs to be done to unstick this library… seems to be stuck several commits back, and is using the commit version of the code as it was at that point, rather than the released version. Do they need to push a minor version release to clear it, or is it something you can refresh your end?