Open zenny opened 4 years ago
According to https://github.com/Xaymar/obs-StreamFX/wiki/Building-From-Source the compilers shouldn't be a problem. While I see no problem in building this standalone (one option to build StreamFX), I'd rather not have this pollute the obs build (the other option). So if you or anyone else want to give this a spin, should be manageable first template.
According to https://github.com/Xaymar/obs-StreamFX/wiki/Building-From-Source the compilers shouldn't be a problem. While I see no problem in building this standalone (one option to build StreamFX), I'd rather not have this pollute the obs build (the other option). So if you or anyone else want to give this a spin, should be manageable first template.
I tried to compile but without success:
$ cmake -H. -B"build/flux" -G"Ninja" -DOBS_DOWNLOAD=ON -DCMAKE_PACKAGE_NAME=StreamFX -DCMAKE_PACKAGE_PREFIX="build/package" -DCMAKE_INSTALL_PREFIX="build/distrib" -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc
-- StreamFX: Using packaged or remote obs-studio.
Linux builds require your install the necessary development packages, take a look at the obs-studio build guide for them.
-- Configuring done
CMake Error at CMakeLists.txt:943 (add_library):
The install of the StreamFX target requires changing an RPATH from the
build tree, but this is not supported with the Ninja generator unless on an
ELF-based platform. The CMAKE_BUILD_WITH_INSTALL_RPATH variable may be set
to avoid this relinking step.
-- Generating done
CMake Generate step failed. Build files cannot be regenerated correctly.
Looks like some broken defaults in the cmake file. Maybe you can patch the file to drop the version suffix.
An easy way out I figured out was to:
~/.config/obs-studio/plugins/
folder.Seems like it is loading, but yet to see whether it works or not.
Looks like some broken defaults in the cmake file. Maybe you can patch the file to drop the version suffix.
Still cmake generate does not work. Updated output in https://github.com/void-linux/void-packages/issues/24706#issuecomment-687720959
You could try building it within xbps-src, that would give you a template at the end, and give you a clean environment for building.
Hi,
Thanks to @lemmi for packaging OBS for VoidLinux.
Meanwhile, StreamFX -- a perspective plugin to OBS (https://github.com/Xaymar/obs-StreamFX/releases/latest/ which is discussed in https://obsproject.com/forum/threads/virtual-sets-and-perspective.80947/) is available only for clang9 and gcc8 for Ubuntu.
The current installed version of clang and gcc are v10 and v9 respectively in VoidLinux, so maybe incompatible (haven't tested).
It would be nice to xbps-package the StreamFX plugin so that it could be easily (as described in https://github.com/xaymar/obs-streamfx/wiki/Installation) ported to obs xbps-package?
Cheers, and stay safe, /z