PlatformIO not loading libraries?

Hello, i’m trying to build this project https://github.com/google/science-journal-arduino, using platformIO version 3.1.0. i follow the guide posted on the project, but i get this error:

lib\GoosciBleGatt\GoosciBleGatt.cpp:17:17: fatal error: SPI.h: No such file or directory

#include <SPI.h>
^
compilation terminated.

i looked in the forum but i cannot find a solution for my problem. i tried copying all arduino libraries in the project library folder, but this doesn’t work.
Could anyone help me please?

Hi,

I’ve just made PR and switched project to PlatformIO 3.0:
https://github.com/google/science-journal-arduino/pull/21

Thank you very much! the file you committed solve my problem.Thanks again

The PR has been merged.

You can force manually PIO Core to build specific library. Just add #include <SPI.h> or etc to one of your project files.

A post was split to a new topic: Having trouble setting up Bigtree SKR v1.3