大学生
最后登录1970-1-1
在线时间 小时
注册时间2014-7-21
|
按照野火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
|
|