Looking for a c++ weather app that uses openweathermap api

I’m at a difficult point already without even touching the source.
Some private headers have been moved around in the Haiku source.
It first complains that it can’t find UrlProtocolListener which was quite easy to fix.
Now it throws dozens of errors and I don’t see what’s wrong with it (I haven’t touched anything here,it’s still the original old code): .. XrMb2.net ImageHost ..
Can anyone help with that?