Hello,
I am new to PlatformIO and wanted to try out debugging an Arduino Nano.
I installed PIO in VSCode (Ubuntu 22.04), created a project and followed the debugging documentation. However, I am running into the following error:
.platformio/packages/toolchain-atmelavr/bin/avr-gdb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
I have been researching this for about an hour, and have followed several fixes (e.g. this and this, but nothing works.
Can someone perhaps suggest a solution?