gpick icon indicating copy to clipboard operation
gpick copied to clipboard

Cannot build or run gpick

Open m34nbunny opened this issue 2 years ago • 1 comments

Cannot build latest gpick, any idea what I could be missing? ArchLinux version just stopped working and showed the below output. Tried to rebuild with gpick-git version in yay but no dice.

image

image

m34nbunny avatar Jul 30 '22 15:07 m34nbunny

Hi @m34nbunny,

I had had the same issue with compiling the gpick from sources on Arch Linux. I managed it with several simple changes:

  • Removed -c++ from Lua libraries names In CMakeLists.txt (because pkg-config knows nothing about the C++ variant of Lua libraries);
  • Wrapped in gpick's source files all Lua include headers with extern "C" {};

Here is a patch with changes described above: 0001-fix-of-compilation-issue-on-Arch-Linux.txt

r0nya avatar Aug 03 '22 22:08 r0nya