-
Notifications
You must be signed in to change notification settings - Fork 34
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
Compilation errors with LilyGo TTGO T-Display #96
Comments
@gadgetmies Hi there! Let's investigate! I'd like to clarify a few things first. Is this the board in question? Since display is color-capable (and ST7789V based, according to specs), I assume you are using Adafruit GFX version of GEM (and probably the latest 1.5.2 one). Is this correct? Does Adafruit GFX examples compile and run on that board? |
The board is probably a clone of the one you linked to, but seems identical: https://www.aliexpress.com/item/1005005970553639.html. I am using Adafruit GFX version of GEM and would expect the version to be the latest as I installed it using the Arduino IDE library manager just yesterday. I will check the versions and whether the Adafruit GFX examples compile later today. |
Seems like example compiles successfully for ST7789 based display with Adafruit_ST7789.h library using ESP32 Dev Module settings (which is a viable solution for this board according to "Technology Support" section on the site of original board). It also supports initialization via ST7789-specific modifications of the sketch marked with red here: ![]() |
Also it seems that recent versions of compiler have more strict rules regarding initializer lists and designated initializers (notably C++20) . That may be the reason you are seeing this particular error. AFAIK, there is no straightforward way to change compiler version in Arduino IDE. And most community members don't recommend it either. Though it might be not a version per se, but some configuration settings of default Arduino C++11 compiler? |
I'm trying to build the Example-01_Basic.ino for the LilyGo TTGO T-Display. When compiling I get a lot of errors such as the following:
The failing compile command is (likely) as follows:
The error seems like it could be caused by the use of a different compiler or a different version of the compiler. Has anyone else had similar issues or know what could cause such errors?
The text was updated successfully, but these errors were encountered: