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

NoGlutinConfigs #3174

Open
IronOxidizer opened this issue Jul 23, 2023 · 2 comments
Open

NoGlutinConfigs #3174

IronOxidizer opened this issue Jul 23, 2023 · 2 comments
Labels
bug Something is broken

Comments

@IronOxidizer
Copy link

Version

Describe the bug

eframe should only depend on libgtk-3-0, but for some reason, it depends on the dev library, libgtk-3-dev. I get the following error when launching my minimal egui + eframe application without libgtk-3-dev:

Error: NoGlutinConfigs(ConfigTemplate { color_buffer_type: Rgb { r_size: 8, g_size: 8, b_size: 8 }, alpha_size: 8, depth_size: 0, stencil_size: 0, num_samples: None, min_swap_interval: None, max_swap_interval: None, config_surface_types: WINDOW, api: None, transparency: false, single_buffering: false, stereoscopy: None, float_pixels: false, max_pbuffer_width: None, hardware_accelerated: None, max_pbuffer_height: None, native_window: Some(Xlib(XlibWindowHandle { window: 77594627, visual_id: 0 })) })

To Reproduce
Steps to reproduce the behavior:

  1. Install libgtk-3-0
  2. Launch the application
  3. Error is thrown

Expected behavior

  1. Install libgtk-3-0
  2. Launch the application
  3. Window is displayed

Current workaround

  1. Install libgtk-3-dev
  2. Launch the application
  3. Window is displayed
@emilk
Copy link
Owner

emilk commented Aug 10, 2023

Is this only when using the glow backend? Perhaps this should be raised in the glutin repository instead?

@the-drunk-coder
Copy link

I'm trying to build an AppImage on a Debian docker image. It builds fine, but when I copy it over to my (arch linux) host, I'm getting a similar problem:

NoGlutinConfigs(ConfigTemplate { color_buffer_type: Rgb { r_size: 8, g_size: 8, b_size: 8 }, alpha_size: 8, depth_size: 0, stencil_size: 0, num_samples: None, min_swap_interval: None, max_swap_interval: None, config_surface_types: ConfigSurfaceTypes(WINDOW), api: None, transparency: false, single_buffering: false, stereoscopy: None, float_pixels: false, max_pbuffer_width: None, hardware_accelerated: None, max_pbuffer_height: None, native_window: None }, Error { raw_code: None, raw_os_message: None, kind: BadConfig })

I can build an run the application on Arch just fine. Did I miss to install some library?

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

No branches or pull requests

3 participants