JHershey69 / OpenWeatherOneCall

Open Weather One Call library to gather current, hourly (48), and 7 day weather for your current location
GNU General Public License v3.0
37 stars 11 forks source link

Cannot compile under latest Platformio. Platformio only offers version 2.0.2, trying to troubleshoot #33

Closed mbariola closed 3 years ago

mbariola commented 3 years ago

Hi,

while trying to convert the DudleyWatch sketch for PlatformIO, I made sure to include the OpenWeatherOneCall library as presented on platformio.org's library registry. However, the offered version is 2.0.2 and compiling it, I get a lot of errors such as

'class OpenWeatherOneCall' has no member named 'setOpenWeatherKey' 'class OpenWeatherOneCall' has no member named 'getErrorMsgs'

and so on. By looking at the accompanying OpenWeatherOneCall.h downloaded by Platformio, I do not see the method declaration. This is such a big thing that I am positive the error is on my side somehow, but I am at a loss as to how to debug it. Is it correct to be presented with a 2.0.2 instead of 3.10, to begin with? Thanks

JHershey69 commented 3 years ago
Hello, The current version of OpenWeatherOneCall is 3.1.0 and this appears to be an issue with PlatformIO. The library file on the OWOC GitHub is correct, PlatformIO has not updated apparently. You might check with them. Jessica  Sent from Mail for Windows From: Massimiliano BariolaSent: Sunday, August 15, 2021 11:10 AMTo: JHershey69/OpenWeatherOneCallCc: SubscribedSubject: [JHershey69/OpenWeatherOneCall] Cannot compile under latest Platformio. Platformio only offers version 2.0.2, trying to troubleshoot (#33) Hi,while trying to convert the DudleyWatch sketch for PlatformIO, I made sure to include the OpenWeatherOneCall library as presented on platformio.org's library registry. However, the offered version is 2.0.2 and compiling it, I get a lot of errors such as'class OpenWeatherOneCall' has no member named 'setOpenWeatherKey''class OpenWeatherOneCall' has no member named 'getErrorMsgs'and so on. By looking at the accompanying OpenWeatherOneCall.h downloaded by Platformio, I do not see the method declaration. This is such a big thing that I am positive the error is on my side somehow, but I am at a loss as to how to debug it. Is it correct to be presented with a 2.0.2 instead of 3.10, to begin with? Thanks—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.  Virus-free. www.avast.com
maxgerhardt commented 3 years ago

Please merge #34 in regards to this issue.

JHershey69 commented 3 years ago
merged Sent from Mail for Windows From: Maximilian GerhardtSent: Monday, August 16, 2021 5:56 AMTo: JHershey69/OpenWeatherOneCallCc: Jessica Hershey; State changeSubject: Re: [JHershey69/OpenWeatherOneCall] Cannot compile under latest Platformio. Platformio only offers version 2.0.2, trying to troubleshoot (#33) Please merge #34 in regards to this issue.—You are receiving this because you modified the open/close state.Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.  Virus-free. www.avast.com
maxgerhardt commented 3 years ago

Thanks, I'll wait 24h to check if https://platformio.org/lib/show/7247/OpenWeatherOneCall updates to the new version due to the PlatformIO's library crawler, if not I'll ping the PlatformIO staff to trigger an update of this library.