rpi-imager icon indicating copy to clipboard operation
rpi-imager copied to clipboard

[BUG]: qt5 cmake error when building embedded version

Open CrossScarDev opened this issue 1 year ago • 4 comments

What happened?

I get the following error when I run ./build.sh:

CMake Error at /home/crossscar/rpi-imager/embedded/buildroot/output/host/aarch64-buildroot-linux-gnu/sysroot/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:26 (message):
  The imported target "Qt5::Core" references the file

     "/home/crossscar/rpi-imager/embedded/buildroot/output/host/aarch64-buildroot-linux-gnu/sysroot/include/qt5/"

  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

     "/home/crossscar/rpi-imager/embedded/buildroot/output/host/aarch64-buildroot-linux-gnu/sysroot/lib/cmake/Qt5Core/Qt5CoreConfig.cmake"

  but not all the files it references.

Version

1.8.5 (Default)

What host operating system were you using?

Other Linux environment

Host OS Version

Latest Arch - Kernel 6.7.9

Selected OS

None

Which Raspberry Pi Device are you using?

Raspberry Pi 4B, 400, and Compute Modules 4, 4S

What kind of storage device are you using?

Other

OS Customisation

  • [ ] Yes, I was using OS Customisation when the bug occurred.

Relevant log output

No response

CrossScarDev avatar Mar 11 '24 01:03 CrossScarDev

@CommanderGL Can you remove the qt folder in the buildroot folder, and try running again?

oxmc avatar Mar 12 '24 19:03 oxmc

there is no qt folder in buildroot

CrossScarDev avatar Mar 16 '24 17:03 CrossScarDev

there is no qt folder in buildroot

Probably called something like output/build/qt5base

Did you change anything in the buildroot configuration, e.g. compiler version?

maxnet avatar Mar 16 '24 20:03 maxnet

I have tried rebuilding after removing qt folder and am using a fresh git clone

CrossScarDev avatar Mar 20 '24 03:03 CrossScarDev

@CommanderGL Was there a particular need to rebuild the Embedded Imager? Does the current release provide what you need?

tdewey-rpi avatar Jun 27 '24 11:06 tdewey-rpi

Closing as stale.

tdewey-rpi avatar Jul 31 '24 12:07 tdewey-rpi