Page 1 of 1
Updated version of MangoHUD
Posted: Mon May 29, 2023 9:23 am
by 1337haXXor
I read through the rules and wasn't sure about this one. The version here is really old, but it seems that's the way it is on Debian:
https://tracker.debian.org/pkg/mangohud
Is there a way I could request updated on MX, despite it being in testing/experimental on Debian? I'd like to remain on Stable, if possible.
Re: Updated version of MangoHUD
Posted: Wed May 31, 2023 3:41 pm
by Stevo
I gave the Debian 12 0.6.8 source a backport attempt for MX 21, but apparently the developers wrote the code in such a way that it requires the newer gcc compiler 12 in Bookworm to build, because it fails with
Code: Select all
../src/app/layer.cpp:167:19: error: ‘setw’ is not a member of ‘std’
167 | o << std::setw(4) << j << std::endl;
| ^~~~
Re: Updated version of MangoHUD
Posted: Wed May 31, 2023 4:48 pm
by timkb4cq
It builds (on amd64 at least) with this tiny patch
Code: Select all
--- a/src/app/layer.cpp
+++ b/src/app/layer.cpp
@@ -5,6 +5,7 @@
#include <sys/stat.h>
#include <unistd.h>
#include <inttypes.h>
+#include <iomanip>
#include "mesa/util/macros.h"
#include "vk_enum_to_str.h"
#include <vulkan/vk_layer.h>
They left out a #include. setw is in iomanip, not std
I'll build the i386 & upload to Test.
I don't have access to my armhf machine - I forgot it in Florida.
Re: Updated version of MangoHUD
Posted: Wed May 31, 2023 5:21 pm
by Jerry3904
I can try it in Suse if you like.
Re: Updated version of MangoHUD
Posted: Wed May 31, 2023 6:37 pm
by Stevo
I don't think I enabled armhf by default on that OBS repo, only arm64, but I can fix that really quick...