exeldro / obs-source-profiler

GNU General Public License v2.0
37 stars 1 forks source link

[Feature Request] Linux support #2

Open xurei opened 1 week ago

xurei commented 1 week ago

As a Linux user (mainly) and plug-in developer, I would love to see this on Linux as well.

I'm willing to work on it if I get some insights on what is not working for a Linux version to exist. I guess it's some OS-related calls...

Nevertheless, if you can give me some pointers on what is not working and why, that would be a great help to get me started and - hopefully - submit a PR

xurei commented 1 day ago

UPDATE : I tried to build it myself, but I need to update my OS first.

I tried to build with a local runner under ubuntu:24.10 but for some yet-to-define reason, I get this error in the "Build Plugin 🧱" action:

Check Linux build requirements
  Reading package lists...
  Building dependency tree...
  Reading state information...
  E: Unable to locate package cmake
  E: Unable to locate package ccache
  E: Unable to locate package git
  E: Unable to locate package jq
  E: Unable to locate package pkg-config

See https://github.com/xurei/obs-source-profiler/actions/runs/11479982613/job/31949150500 for details

I successfully built obs-studio 31.0.0-beta2 on my machine through a Docker container, and the .so file has been generated. However, I can't run this version on my machine on my current OS.

I'll try again later this day, after installing Ubuntu 22.10 on my machine.

xurei commented 13 hours ago

UPDATE : After updating to Ubuntu 24.10, I managed to make it work (version 0.0.4). No code change required.

So I would say that a Linux build somewhat works, but the CI does not work as-is.