Seems like the online compiler handles libraries / includes differently. For example:
HTTPClient/HTTPClient.cpp has the following include:
And the file it is looking for is at…
(confirmed by renaming the file)
The wolfSSL library is full of such strange includes, and even after a few hours of manual fixing, I still couldn’t make Example-HTTPSClient compile with Platformio (online compiler works without any changes). The furthest I got when it was complaining about an undefined reference to
HTTPClient.cpp and about
wolfSSL_Mutex not declared in the scope.