And I had to delete the ./pio directory in the firmware dir.
I have attached the error message here, but this message really did not help me find the issue. I just happened to stumble across this document. pio_error.txt (4.5 KB)
Figured it might help someone else out with Visual Studio Code/PlatformIO errors. If the change to the library format in platformio.ini is correct I will create a pull request. When I got errors I searched on this forum and did not find much for my error.
Out of context, your post didn’t mean a lot - there’s no indication of what your problem was - other than a compiler error, so a solution without identifying the problem isn’t going to help many people. This is why I questioned your post.
I have seen little mention of VS here, which probably explains why you didn’t find anything to help you.
It does seem daft to not use the power of PlatformIO and just pull the right library in directly from GitHub and also helps with build control (which version of the libraries are included) which Arduino IDE simple doesn’t do.
However, this only applies where we use PIO for building executeables (although I have built and uploaded the TX3 code directly on a Serial Connected Pi - so it is possible).