Open dasnoopy opened 1 year ago
Same error here
I got the same error. There seems to be a missing #include <cstdint>
in src/helpers/help.h
. After adding it in the downloaded source the make
command runs fine. When using makepkg
on Arch Linux, the -e
switch uses the modified sources without redownloading. So the solution for me was:
g810-led/src/g810-led-0.4.3/src/helpers/help.h
by adding #include <cstdint>
(e.g. in front of the #include <iostream>
)$ makepkg -e
$ pacman -U *.zst
Edit: There is already a pull request from another user with the same solution.
Would be closed by #302 (for cross-ref purposes)
I have successfully installed this software in archlinux either by modifying a line in src/helpers/help.h
like this
- enum class KeyboardFeatures : uint16_t {
+ enum KeyboardFeatures {
Or (in case that is needed and works in other systems) by modifying that line in the build process from the PKGBUILD script like this:
build() {
cd "${_githubrepo}-${pkgver}"
+ sed 's/enum class KeyboardFeatures : uint16_t {/enum KeyboardFeatures {/' src/helpers/help.h
make bin
}
Which way is less conflictive?
as per title, on archlinux using the AUR pkgbuild the app does not compile..
see also this recent comment in the AUR page...