You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

STM32MP1平台Yocto构建Qt6工具链时libglu依赖缺失报错

构建meta-toolchain-qt6时libglu依赖缺失报错

环境信息

  • 硬件环境:stm32mp157f-dk2评估板
  • 软件环境:Ubuntu 22.04.5 LTS、Yocto 5.0 LTS Scarthgap
  • 使用Yocto层:poky、meta-openembedded、meta-qt6、meta-st-stm32mp、meta-example(自定义层)

问题详情

构建meta-toolchain-qt6时执行bitbake libglu,libglu-2_9.0.3-r0的do_configure阶段因meson构建失败,提示依赖‘gl’未找到。目前Qt/QML示例配方可正常构建并部署到目标板,怀疑问题与eglfs的使用有关。

相关配置文件(qtbase_%.bbappend)

PACKAGECONFIG:append = "eglfs fontconfig gbm gles2 tslib kms"

PACKAGECONFIG:remove = "examples kde tests wayland x11"

EXTRA_OECMAKE += "-DQT_FEATURE_egl=ON -DFEATURE_opengl=ON -DQT_FEATURE_opengl_desktop=OFF"

内容的提问来源于stack exchange,提问作者Volt

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.12 00:03:10