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

Can't compile MangoHud in Ubuntu 24.04.1 LTS #1490

Open
Slo2018 opened this issue Nov 25, 2024 · 6 comments
Open

Can't compile MangoHud in Ubuntu 24.04.1 LTS #1490

Slo2018 opened this issue Nov 25, 2024 · 6 comments
Labels
question Further information is requested

Comments

@Slo2018
Copy link

Slo2018 commented Nov 25, 2024

I got error that something missing (X 11) when i compiling MangoHud. It worked in Linux Mint 22 but not in Ubuntu.

@17314642
Copy link
Contributor

Send your terminal output when you try to build mangohud.

@gort818 gort818 added the question Further information is requested label Dec 2, 2024
@ericzlmd
Copy link

ericzlmd commented Dec 28, 2024

have the following issue as well:

Program python3 (mako) found: YES (/usr/bin/python3) modules: mako
Checking if "GCC atomic builtins" compiles: YES 
Checking if "Supports timespec_get" compiles: YES 
Checking for function "bswap32" : YES 
Checking for function "bswap64" : YES 
Checking for function "clz" : YES 
Checking for function "clzll" : YES 
Checking for function "ctz" : YES 
Checking for function "expect" : YES 
Checking for function "ffs" : YES 
Checking for function "ffsll" : YES 
Checking for function "popcount" : YES 
Checking for function "popcountll" : YES 
Checking for function "unreachable" : YES 
Found pkg-config: YES (/usr/bin/pkg-config) 2.3.0
Found CMake: /usr/bin/cmake (3.30.5)
Run-time dependency x11 found: NO (tried pkgconfig and cmake)

meson.build:88:12: ERROR: Dependency "x11" not found, tried pkgconfig and cmake

CPU: 9800x3D
OS: Fedora 41
GPU: RTX 3080ti

@17314642
Copy link
Contributor

@ericzlmd does installing libX11-devel solve the issue?

@ericzlmd
Copy link

ericzlmd commented Dec 28, 2024

@ericzlmd does installing libX11-devel solve the issue?

@17314642 Yes. The resolved it! How about for wayland-client, I have libwayland-client.x86_64 installed.

@17314642
Copy link
Contributor

@ericzlmd just do dnf builddep mangohud

@ericzlmd
Copy link

@17314642 major TIL. Many many thanks!

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

No branches or pull requests

4 participants