FrogTheFrog / moondeck-buddy

A server-side part of the MoonDeck plugin for the SteamDeck.
GNU Lesser General Public License v3.0
151 stars 9 forks source link

[Linux] error when compiling with CMake #72

Closed spv420 closed 7 months ago

spv420 commented 8 months ago

Running Debian unstable, and attempting to compile Moondeck Buddy as my repositories only have QT 6.4.2, not 6.5 as required, which causes the AppImage to crash.

I've ran into an error I cannot seem to fix however, and I'm hoping y'all could help.

$ cmake ..
CMake Error at src/lib/os/linux/CMakeLists.txt:13 (find_library):
  Could not find PROCPS_LIBRARY using the following names: proc, procps

-- Configuring incomplete, errors occurred!
$

I've verified that libprocps8 is installed.

spv420 commented 8 months ago

I've installed libproc2-0 and libproc2-dev, and compiled with cmake .. -DPROCPS_LIBRARY=/lib/x86_64-linux-gnu/libproc2.a and I've gotten further but it is now failing with

/home/spv/moondeck-buddy/src/lib/os/linux/nativeprocesshandler.cpp:10:10: fatal error: proc/readproc.h: No such file or directory
   10 | #include <proc/readproc.h>
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.
FrogTheFrog commented 8 months ago

You'll get no help from me unfortunately as I'm on arch, but it was also pain to setup this library...