I am trying to run a demo program that came with the Adafruit_SPIFlash library. I get this error:
C:\Users\jjuni.platformio\lib\Adafruit SPIFlash_ID1643\src/Adafruit_SPIFlash.h:35:10: fatal error: SdFat.h: No such file or directory
I already #include <SD.h>. If I look in .platformio\lib\SD_ID161\utility the SdFat.h is right there.
Interestingly, if i right-click on #include “SdFat.h” in Adafruit_SPIFlash.h and select GoTo Definition, I am taken right to the desired file. So, Intellisense can find it.
This is the entire Dependency Graph:
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ deep+, Compatibility ~ soft
Found 16 compatible libraries
| |-- 1.0
| |-- 1.0
Note that SdFat is not shown as a dependency of Adafruit_SPIFlash. I have even tried putting LDF in deep+ mode with no success.
I have tried putting a copy of SdFat.h in the lib folder of the project without success. I have also tried listing it in platformio.ini as lib_deps = SdFat with no success.
How can I get the compiler to find this dependent file?