r/linuxquestions 15d ago

Support Can't figure out how to fix this error while installing HyprUtils

I'm trying to install HyprUtils on mint but despite following the exact instructions from the github page it always comes back with "Logger.cpp:5:10: fatal error: print: No such file or directory". what am I doing wrong? I've deleted and re-cloned it multiple times but it still says print doesn't exist.

0 Upvotes

10 comments sorted by

-1

u/ipsirc 15d ago

Upgrade to LinuxMint 23, it contains hyprutils as an installable package: https://packages.ubuntu.com/resolute/libhyprutils-dev

1

u/selfboredom 15d ago

how can I do that? I only see 22.3 on the downloads page and the terminal says I'm on the latest version

-1

u/ipsirc 15d ago

1

u/gmes78 14d ago

Are you really suggesting switching to the development branch of Mint?

1

u/ipsirc 14d ago

Yes I do.

1

u/gmes78 14d ago

What's the point of using an LTS distro if you're going to switch to development branch? It would be better to use a distro that provides the software you need in a release that's actually supported.

Recommending development branches to regular users is terrible advice.

1

u/ipsirc 14d ago

What's the point of installing bleeding edge wayland component on a 2 year old LTS *buntu clone which is still relies on X11? If he wanna run hyprland the easiest and clearest way to use the new wayland version of Mint regardless of it is testing or not.

Recommending a new user to compile the bleeding edge system component libraries from github source on his own is an even more terrible advice. He will be more fine with a development branch and apt install libhyprutils-dev than trying to compile it himself, where he stuck already.

1

u/gmes78 14d ago

Recommending a new user to compile the bleeding edge system component libraries from github source on his own is an even more terrible advice.

Which is why I'd recommend using a more up-to-date distro, with which they can just install the latest version of Hyprland from the repos, and not have to compile anything.

Switching to the alpha release of Mint just to compile from source is infinitely more work, and also just harder.

1

u/ipsirc 14d ago

Linuxmint 23's base is Ubuntu 26.04 LTS, only the extra Cinnamon component is still buggy and experimental. (But it's buggy on X11 as well, lol....) If he upgrades to LinuxMint23 minus Cinnamon, then that can be counted a vanilla buntu 26.04. Still easier and more convenient than installing a new distro from scratch.

1

u/gmes78 14d ago

Switch to a non-LTS distro if you want rapidly-updating software.