野火电子论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 332|回复: 1

[求助] buildroot 编译根文件系统

[复制链接]
发表于 2024-10-22 10:25:10 | 显示全部楼层 |阅读模式
按照野火https://doc.embedfire.com/lubanc ... root/buildroot.html
这个教程完全一致去配置的 结果编译总是这个报错,实际并未选中qt5 有没有遇到类似问题的朋友指点一下:
实际报错如下



make[1]: Leaving directory '/home/book/linux/tool/buildroot-2021.02.3/output/build/host-cmake-3.15.5/Bootstrap.cmk'
loading initial cache file /home/book/linux/tool/buildroot-2021.02.3/output/build/host-cmake-3.15.5/Bootstrap.cmk/InitialCacheFlags.cmake
qmake: could not exec '/usr/lib/qt5/bin/qmake': No such file or directory
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreConfig.cmake:27 (message):
  The imported target "Qt5::Core" references the file

     "/usr/lib/qt5/bin/qmake"

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

     "/usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreConfigExtras.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  /usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreConfigExtras.cmake:6 (_qt5_Core_check_file_exists)
  /usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreConfig.cmake:184 (include)
  Tests/RunCMake/CMakeLists.txt:337 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/book/linux/tool/buildroot-2021.02.3/output/build/host-cmake-3.15.5/CMakeFiles/CMakeOutput.log".
See also "/home/book/linux/tool/buildroot-2021.02.3/output/build/host-cmake-3.15.5/CMakeFiles/CMakeError.log".
---------------------------------------------
Error when bootstrapping CMake:
Problem while running initial CMake
---------------------------------------------
package/pkg-generic.mk:231: recipe for target '/home/book/linux/tool/buildroot-2021.02.3/output/build/host-cmake-3.15.5/.stamp_configured' failed
make: *** [/home/book/linux/tool/buildroot-2021.02.3/output/build/host-cmake-3.15.5/.stamp_configured] Error 11


回复

使用道具 举报

发表于 6 天前 | 显示全部楼层
是不是没有选配Qt5,但是需要QT5中的qmake工具来参与编译其他的工具包,也就是其他的工具包依赖qt5
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

联系站长|手机版|野火电子官网|野火淘宝店铺|野火电子论坛 ( 粤ICP备14069197号 ) 大学生ARM嵌入式2群

GMT+8, 2024-11-21 14:47 , Processed in 0.104073 second(s), 24 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表