-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trouble Compiling tft_demo in ESP32_TFT_library #14
Comments
I am also getting this error, but it worked perfectly a week ago before I moved to a new location and updated everything.. this might be why: Looks like esp-idf was updated very recently to remove the field. I just reverted to a previous version of esp-idf and compiled with no problems (i.e. it is working again). |
Thanks for responding. Will give it a try. |
For now, just comment the line 836 in components/spiffs/spiffs_vfs.c
The fix will be pushed soon (I'm working on some other changes too). |
That was easy. Thanks very much! |
Fixed in latest commit. |
I am getting the messages shown below when attempting to compile the demo app to run on my ESP32 Rover board. Any suggestions?
CC /Users/jim/esp/ESP32_TFT_library/build/spiffs/spiffs_vfs.o
/Users/jim/esp/ESP32_TFT_library/components/spiffs/./spiffs_vfs.c: In function vfs_spiffs_register':
/Users/jim/esp/ESP32_TFT_library/components/spiffs/./spiffs_vfs.c:836:9: error:unknown field 'fd_offset' specified in initializer
.fd_offset = 0,
^
/Users/jim/esp/ESP32_TFT_library/components/spiffs/./spiffs_vfs.c:837:18: warning: initialized field overwritten [-Woverride-init]
.flags = ESP_VFS_FLAG_DEFAULT,
^
/Users/jim/esp/ESP32_TFT_library/components/spiffs/./spiffs_vfs.c:837:18: note:(near initialization for 'vfs.flags')
make[1]: *** [spiffs_vfs.o] Error 1
make: *** [component-spiffs-build] Error 2
The text was updated successfully, but these errors were encountered: