Open v4u6h4n opened 4 months ago
I don't really know much about obs on linux, but based on this https://github.com/obsproject/obs-plugintemplate, i think you're supposed to first run cmake --preset linux-aarch64
and then cmake --build --preset linux-aarch64
, which will use Ninja.
I'm getting an error regarding libobs
, and doesn't look like the issue has been resolved by others, and not very experienced building from source, so I might be out of luck. But thanks for the help :-)
what error?
Preset CMake variables:
CMAKE_BUILD_TYPE="RelWithDebInfo"
ENABLE_FRONTEND_API:BOOL="FALSE"
ENABLE_QT:BOOL="FALSE"
QT_VERSION="6"
CMake Error at cmake/linux/defaults.cmake:50 (find_package):
By not providing "FindLibObs.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "LibObs", but
CMake did not find one.
Could not find a package configuration file provided by "LibObs" with any
of the following names:
LibObsConfig.cmake
libobs-config.cmake
Add the installation prefix of "LibObs" to CMAKE_PREFIX_PATH or set
"LibObs_DIR" to a directory containing one of the above files. If "LibObs"
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
CMakeLists.txt:11 (include)
-- Configuring incomplete, errors occurred!
Could you please try instructions here https://github.com/obsproject/obs-studio/wiki/build-instructions-for-linux ? not really sure how the instructions will change for arch linux but i assume it will just have you look for extra dependencies. After building obs from source, you can build the plugin.
If you need more help, you could try asking in #linux-support in the obs discord server
Good suggestions, thanks :-)
I've got some info from linux support, what kind of cpu do you have? is it x86_64? because apparently only the preset linux-x86_64
works. and then it will probably build a .so file, which you copy to obs plugins directory
Hey :-) okay great, I'll look into that this week and let you know if I have any luck.
I got some more info, apparently that preset would work for ubuntu distro and is practically untested on other kinds of linux. There's likely no official way to build for non-ubuntu distros. The obs plugin template also doesnt have a flatpak extension builder at the moment. If you plan on using obs plugins (this one or other plugins), i suggest using ubuntu-based systems as that's the one obs currently officially supports.
Also apparently on arch linux, you could check out these AUR packages https://github.com/obsproject/obs-studio/wiki/unofficial-linux-builds#arch-linuxmanjaro for obs builds on arch linux
Ah damn, well I think I may be out of luck in that case, I have some pretty specific requirements for my streaming setup which will likely require sticking to Arch for a little while longer, but appreciate the info; will in useful if I return to Debian/Ubuntu. Although, really just wish OBS would just incorporate your plugin, its kind of a no brainer feature :-)
Hey there, thanks for working on this, would be great to see included in the official OBS. I'm just wondering if you could offer any advice on how to install this on my Arch system?