This now compiles and runs fine without any lua tampering by doing the following:
-
add
-DLUA_TYPE="C"
to thecmake
line. -
add
sed -i '23i #include <cstdint>' source/common/Span.h
to aprepare()
function.
Note that I compiled it in a chroot; I have no idea what would happen if you didn't do that.
Pinned Comments
jirido commented on 2022-06-09 02:00 (UTC) (edited on 2022-06-09 02:23 (UTC) by jirido)
Hi. It seams like gpick 0.3, that is what gpick-git is pulling now, needs a lua compiled with c++ support. There is no such a packet right now, we can just hope for a lua-c++
Any how, while waiting and hoping.. omegatron on #archlinux made an tutorial for me on how he installed lua with the cc=g++ flag enabled.
But he also Said: it installs now and runs, but immediately crashes with : gpick: cairo-surface.c:1733: cairo_surface_mark_dirty_rectangle: Assertion `! _cairo_surface_has_snapshots (surface)' failed.
I have reported this to thezbyg at https://github.com/thezbyg/gpick/issues/204 so maybe he get to looking at it.. whom knows.
Omegatron: