From the other thread…
Yet, up above here, you have posted the dependency graph showing that it has appeared to work but failing on a completely different error:
The obvious question, why have you installed the Adafruit stuff in lib
? The error shows it compiling from lib
.
How did the library source code get into lib
please. Tell me exactly the steps you took to install that library into this project.
If the word “download” appears, I may weep uncontrollably into my coffee!
This might help, possibly, unless the compiler is too smart and doesnt bother to compile the libraries.
I suggest, start a new project. In the main cpp file, just #include
the Adafruit headers you are using now, plus any others you might need for BLE stuff. All you need is to setup the Serial
monitor, and in loop()
, write hello
to Serial
and delay 5 seconds.
Set lib_deps
to list the various libraries you are currently using.
Compile.
Hopefully, it will compile, but it should install the libraries first. Did it? Look in lib
- I doubt you will see anything there. Because that’s not where they live. Then live under .pio
and not in the project’s lib
.
Humour me, and try the above test. Let me know how you get on.
Cheers,
Norm.