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

Added libgl1-mesa-dev as a dependency to debian/control #3475

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nielsreijers
Copy link
Contributor

Similar to PR 3471

I tried building multipass in a clean 22.04 vm (started using multipass) following the instructions in the README.md.

This failed on the cmake ../ step:

-- Could NOT find OpenGL (missing: OPENGL_INCLUDE_DIR) 
-- Could NOT find WrapOpenGL (missing: WrapOpenGL_FOUND) 
CMake Warning at 3rd-party/vcpkg/scripts/buildsystems/vcpkg.cmake:855 (_find_package):
  Found package configuration file:

    /usr/lib/x86_64-linux-gnu/cmake/Qt6Gui/Qt6GuiConfig.cmake

  but it set Qt6Gui_FOUND to FALSE so package "Qt6Gui" is considered to be
  NOT FOUND.  Reason given by package:

  Qt6Gui could not be found because dependency WrapOpenGL could not be found.

This in turns causes Qt6Widgets and Qt6 to be NOT FOUND and the script to fail.

Adding libgl1-mesa-dev fixes this.

@townsend2010
Copy link
Collaborator

Hey @nielsreijers!

Thanks for this contribution! Just as you add this, we will be removing the dependency on Qt6Widgets/Qt6Gui very soon in #3282. That said, I don't think this will be relevant anymore once that is merged. I'll leave this open for now just in case this is actually still needed once we merge that other PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants