Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: qt5 cmake error when building embedded version #834

Open
1 task
CommanderGL opened this issue Mar 11, 2024 · 4 comments
Open
1 task

[BUG]: qt5 cmake error when building embedded version #834

CommanderGL opened this issue Mar 11, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@CommanderGL
Copy link

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

@CommanderGL CommanderGL added the bug Something isn't working label Mar 11, 2024
@oxmc
Copy link

oxmc commented Mar 12, 2024

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

@CommanderGL
Copy link
Author

there is no qt folder in buildroot

@maxnet
Copy link
Collaborator

maxnet commented Mar 16, 2024

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?

@CommanderGL
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants