obs-multi-rtmp
obs-multi-rtmp copied to clipboard
Install on Ubuntu 18.04 - Error: In function ‘bool obs_module_load()’
Hi i get an error when i run build_linux.sh . Scanning dependencies of target obs-multi-rtmp [ 20%] Building CXX object CMakeFiles/obs-multi-rtmp.dir/cmake_pch.hxx.gch [ 40%] Building CXX object CMakeFiles/obs-multi-rtmp.dir/src/obs-multi-rtmp.cpp.o /home/xxxxxxx/Downloads/obs-multi-rtmp.cpp: In function ‘bool obs_module_load()’: /home/xxxxxxx/Downloads/obs-multi-rtmp-0.2.5.1/src/obs-multi-rtmp.cpp:177:6: error: no matching function for call to ‘QMetaObject::invokeMethod(QMainWindow*&, obs_module_load()::<lambda()>)’
I try to found obs-multi-rtmp.so file to manaully instalation but i cannot found it.
I have the same problem.
Managed to make it work.
This problem happens because the Qt libraries used in the system (At least in Ubuntu 18.04LTS) are too outdated to compile this plugin.
Qt 5.9.5 is available in the official PPA while the proper implementation of this invokeMethod()
call was introduced in 5.10.
Simply install Qt from their official website and use Qt Creator to compile with a new version. If OBS fails to load the plugin because of a Qt version mismatch simply reference the new version using LD_LIBRARY_PATH.
In my case I compiled it with the version 5.15.2 so I have to launch OBS like this
LD_LIBRARY_PATH=/home/(username)/Qt//gcc_64/lib obs