PlatformIO Community

LibPrintf library installs incomplete

LibPrintf(embeddedartistry/LibPrintf@^1.1.3) does not fully install via platformio it is missing at least the entire extra subfolder and so does not compile.

In file included from .pio\libdeps\644pa8m\LibPrintf\src\LibPrintf.cpp:1:0:
.pio\libdeps\644pa8m\LibPrintf\src\LibPrintf.h:5:10: fatal error: …/extras/printf/printf.h: No such file or directory
#include “…/extras/printf/printf.h”
compilation terminated.

platform = atmelavr
board = 644pa8m
framework = arduino
lib_deps = 
build_flags =

Correct, I see that too when doing pio lib -g install "embeddedartistry/LibPrintf @ ^1.1.3". Possibly a default filter setting in the library download / registration? @ivankravets please have a look

1 Like

We just follow specification. See

The content of the extras folder is totally ignored by the Arduino development software; you are free to put anything inside.

So, we don’t keep “extra” files by default on our side. You can create library.json manifest and configure export field.

The alternative solution is to report issue to and ask authors to move source code outside extras folder.