Pin LovyanGFX to 1.2.21 to fix build failure on fresh installs - #49
Open
selmapi wants to merge 1 commit into
Open
Pin LovyanGFX to 1.2.21 to fix build failure on fresh installs#49selmapi wants to merge 1 commit into
selmapi wants to merge 1 commit into
Conversation
selmapi
force-pushed
the
fix/pin-lovyangfx-1.2.21
branch
from
July 5, 2026 14:08
7a75a5f to
48e1ae3
Compare
^1.2.7 resolves to 1.2.24, whose new 'fonts' alias collides with this project's; exact 1.2.7 predates the two-arg loadFont(). 1.2.21 is the newest version that builds cleanly. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
selmapi
force-pushed
the
fix/pin-lovyangfx-1.2.21
branch
from
July 5, 2026 14:10
48e1ae3 to
f74ecf0
Compare
|
I was able to successfully build by commenting out |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
lovyan03/LovyanGFX@^1.2.7constraint inplatformio.inicurrently resolves to 1.2.24 (published 2026-06-24), which declares its ownfontsnamespace alias that collides with this project'snamespace fonts = lgfx::v1::fonts;alias inradar_display.cpp,runway_overlay.cpp, andstatus_screens.cpp— three compile errors on any fresh clone or CI cache miss. The exact 1.2.7 floor also fails to build, since it predates the two-argumentloadFont()used indisplay_font.cpp, so the safe range is narrower than the current constraint implies.Pinning to
1.2.21— the newest version confirmed to build cleanly against this code — stops the build from depending on a stale library cache to stay green. (Note:pio pkg installre-resolves floating ranges against the registry even with a matching cached version, which is why the cache workaround is fragile.)This pin has been running in a fork of this project in daily use with no issues. Thanks for a great project!
🤖 Generated with Claude Code