xtrinch / esp-weather-station

OpenWeatherMap & IotFreezer weather station running on ESP32/8266 and a TFT display
Other
6 stars 0 forks source link

in file included from src\main.cpp:1: include/main.h:7:10: fatal error: SPIFFS.h: No such file or directory #1

Open Grey-Lancaster opened 8 months ago

Grey-Lancaster commented 8 months ago

Not sure if you will help, but would love to see this work

7 | #include "SPIFFS.h"
  |          ^~~~~~~~~~

compilation terminated. In file included from .pio\libdeps\d1_mini\TFT_eSPI/TFT_eSPI.h:979, from src\GfxUi.h:24, from src\GfxUi.cpp:25: .pio\libdeps\d1_mini\TFT_eSPI/Extensions/Smooth_font.h:47:23: warning: 'SPIFFS' is deprecated: SPIFFS has been deprecated. Please consider moving to LittleFS or other filesystems. [-Wdeprecated-declarations] 47 | fs::FS &fontFS = SPIFFS;

xtrinch commented 8 months ago

https://community.platformio.org/t/problem-with-spiffs/36837 Looks like it was actually removed :/ I'm afraid I didn't pin any versions so SPIFFS would have to be replaced with LittleFS in order for this to work again

Grey-Lancaster commented 8 months ago

Shucks :-)
I am not having any luck with the FreeCAD thing either. I get compile errors when trying to edit it. Do you happen to have the .stl file you used? I finally got the bodmer/openweather to work, Pretty, but not really what I want either. The 4 day forecast seems to always be Mon, Tue, Wed, Thu no matter what day it is?

Thanks for getting back, Grey

xtrinch commented 8 months ago

Which freecad thing? You mean https://github.com/xtrinch/parametric-display-casing? The stl file is in there but I suspect it's so old at this point the newer versions don't open it