Hi I have seen some stuff about this issue on the web and tried the solutions recommended:
Rename the #import <sfud.h> to <SFUD.h>. This did not work.
I have an existing Arduino project that Builds and Uploads to my WIO terminal in the Arduino IDE.
The following is the include section.
#include <Seeed_FS.h> #include <cstdint> #include "AtWiFi.h" #include "DateTime.h" #include "Free_Fonts.h" #include "SD/Seeed_SD.h" #include "TFT_eSPI.h" #include "lcd_backlight.hpp"
It is quite a big .ino file so I thought I would use PlatforIO and VSCode.
I followed the WIKI at https://wiki.seeedstudio.com/Software-PlatformIO/
I Imported the project but could not get very far until I updated the platformio.ini file with the absolute path to the Arduino libraries on my pc.
lib_extra_dirs = /home/stuart/Arduino/libraries
It was then able to find the libraries Seeed_FS.h etc. However!
I am now faced with this and I am unable to find a solution.
Compiling .pio/build/seeed_wio_terminal/lib4e0/Seeed_Arduino_FS-master/SFUD/Seeed_SFUD.cpp.o
Archiving .pio/build/seeed_wio_terminal/lib496/libSeeed_Arduino_atWiFi-master.a
In file included from /home/stuart/Arduino/libraries/Seeed_Arduino_FS-master/src/SFUD/Seeed_SFUD.cpp:8:0:
/home/stuart/Arduino/libraries/Seeed_Arduino_FS-master/src/SFUD/Seeed_SFUD.h:18:10: fatal error: sfud.h: No such file or directory
**************************************************************
* Looking for sfud.h dependency? Check our library registry!
*
* CLI > platformio lib search "header:sfud.h"
* Web > https://platformio.org/lib/search?query=header:sfud.h
*
**************************************************************
#include <sfud.h>
^~~~~~~~
compilation terminated.
I know this has been covered. I found some info here:
https://forum.seeedstudio.com/t/sample-game-on-wio-terminal/253373/4
But it did not help.
Can any one assist please?
Stuart