I created a new simple ‘blink’ project… and it worked fine. It’s still failing when I try to build examples in the library I’m working on. Deleting and recreating the .piolibdeps and .pioenv folders made no difference. Right now I suspect it’s a conflict between the “lib_dir = .” I’m using in the [platformio] section (because I’m working on the library itself) and the libraries themselves in the .piolibdeps directory. Here is the library dependency graph I am getting:
Library Dependency Graph
|-- < src>
| |-- <.piolibdeps>
|-- <.piolibdeps>