Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building URLSource in Arch Linux #131

Open
christoph-ernst opened this issue Dec 17, 2024 · 1 comment
Open

Building URLSource in Arch Linux #131

christoph-ernst opened this issue Dec 17, 2024 · 1 comment

Comments

@christoph-ernst
Copy link

Hi
I tried to build URLSource on my Arch Linux machine.
Unfortunately this fails with:

[user@archlinux obs-urlsource]$ .github/scripts/build-linux 
   =>   Check Linux build requirements
   ✖︎   No apt-get command found. Please install apt

the package manager on Arch is pacman. apt can't be used unfortunately.
Would ti be possible that you could have a look into that, please?
Unfortunately, my knowledge does not extend far enough to suggest changes straight away.
any help is highly appreciated.

and happy holidays!

@christoph-ernst
Copy link
Author

christoph-ernst commented Dec 17, 2024

for your reference. I was able to compile the plugin successfully.
After a bit back and forth the following commands will build the obs-urlsource.so

> git clone https://github.com/locaal-ai/obs-urlsource.git
> cd obs-urlsource
> git submodule update --init --recursive
(if not already installed, install ninja using your packet manager of choice)
> cmake -B build --preset linux-x86_64 -DUSE_SYSTEM_CURL=ON
in build/build.ninja 
   replace all "deprecated-declarations" with "no-deprecated-declarations"
> cmake --build build
> copy the resulting .so file to /usr/lib/obs-plugins

i have no idea why deprecated-declarations in build.ninja will break the compiling process. 🤷
The plugin seems to work with no flaws (for now...)!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant