Skip to content

fix(lvgl): install lv_version.h into lvgl include dir#2

Merged
maikebing merged 1 commit into
mainfrom
copilot/revert-laneapp-workaround-commit
Apr 10, 2026
Merged

fix(lvgl): install lv_version.h into lvgl include dir#2
maikebing merged 1 commit into
mainfrom
copilot/revert-laneapp-workaround-commit

Conversation

Copilot AI commented Apr 10, 2026

Copy link
Copy Markdown
Contributor

LVGL v9.5's lvgl.h does #include "lv_version.h" (relative lookup), so it must exist at $PCCT_INCLUDEDIR/lvgl/lv_version.h. The file lives in the LVGL root — not under src/ — so the cp -R src/ step never placed it there, causing a missing header at compile time.

Changes (sources/rebuildlvgl.sh)

  • Install lv_version.h alongside lvgl.h and lv_conf.h into $PCCT_INCLUDEDIR/lvgl/
  • Add symlink $PCCT_INCLUDEDIR/lv_version.h → lvgl/lv_version.h, consistent with the existing symlinks for lvgl.h and lv_conf.h
install -m 644 lv_version.h "$PCCT_INCLUDEDIR/lvgl/lv_version.h"
ln -sfn lvgl/lv_version.h  "$PCCT_INCLUDEDIR/lv_version.h"

@maikebing maikebing marked this pull request as ready for review April 10, 2026 11:04
Copilot AI review requested due to automatic review settings April 10, 2026 11:04
@maikebing maikebing merged commit f57e867 into main Apr 10, 2026
6 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes LVGL v9.5 header installation so that lvgl.h’s relative include of lv_version.h resolves correctly from the installed include directory layout ($PCCT_INCLUDEDIR/lvgl).

Changes:

  • Installs lv_version.h into $PCCT_INCLUDEDIR/lvgl/ alongside lvgl.h and lv_conf.h
  • Adds a top-level symlink $PCCT_INCLUDEDIR/lv_version.h -> lvgl/lv_version.h to match existing lvgl.h / lv_conf.h symlink behavior

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants