Replies: 1 comment
-
A follow up... I am using Visual Studio with Visual Micro as my IDE. During compile time, I get these errors. Note the line thta says that some warnings are being treated as errors. Once I disabled the Library Warnings, the issue went away. I would think that the problem is some difference between the compiler in the Arduino IDE and Visual Micro. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First off, I want to say thanks for all the hard work that has gone into TFT_eSPI and all of its associated libraries.
I have been piecing together my application function by function. I have used each of the example sketches to test and modify things for my application. When each feature derived from the example sketch works, I then integrate it into my main appllication. It has all gone well right up to the last piece!
First was the TFT display that uses a ILI9488 driver. Joy.
Second was the touch screen that uses the SPIFFS for saving and retrieving the calibration data. Joy.
Finally, adding the SD reader to retrieve JPGs. Sort of Joy.
It all works great using the example sketch but when it is integrated into the larger application, I get a compile error.
I think there is an issue with the SPIFFS/LittleFS and the JPEGDecoder libraries. When I first added the code into the main program, SPIFFS was found as undefined. I loaded the LittleFS library and changed SPIFFS to LittleFS. The error went away but I still got the compilier error.
Here are the libraries that I have loaded:
#include <SD.h>
#include <FS.h>
#include <LittleFS.h>
#include <SPI.h>
#include <Arduino.h>
#include <TFT_eSPI.h>
#include <JPEGDecoder.h>
Any assistance is greatly appreciated.
`Compiling 'DMXDisplay_eTFT' for 'ESP32S3 Dev Module(esp32_esp32s3)'
picojpeg.c: In function readSOSMarker
picojpeg.c: 687:57: error: variable 'successive_low' set but not used [-Werror=unused-but-set-variable]
uint8 spectral_start, spectral_end, successive_high, successive_low
^~~~~~~~~~~~~~
picojpeg.c: 687:40: error: variable 'successive_high' set but not used [-Werror=unused-but-set-variable]
uint8 spectral_start, spectral_end, successive_high, successive_low
^~~~~~~~~~~~~~~
picojpeg.c: 687:26: error: variable 'spectral_end' set but not used [-Werror=unused-but-set-variable]
uint8 spectral_start, spectral_end, successive_high, successive_low
^~~~~~~~~~~~
picojpeg.c: 687:10: error: variable 'spectral_start' set but not used [-Werror=unused-but-set-variable]
uint8 spectral_start, spectral_end, successive_high, successive_low
^~~~~~~~~~~~~~
cc1.exe*: some warnings being treated as errors
Error compiling libraries
Build failed for project 'DMXDisplay_eTFT'`
Beta Was this translation helpful? Give feedback.
All reactions