-
Notifications
You must be signed in to change notification settings - Fork 97
building plugin is failing #15
Comments
problem solved by installing these two packages form synaptic https://imgur.com/xFp1xq7.png then follow the instructions of this site without modifying them |
Thank you for sharing this. |
Saved me from having to troubleshoot it. Much appreciated. |
actually helped me!. obs-v4l2sink/build$ cmake -DLIBOBS_INCLUDE_DIR="../../obs-studio/libobs" -DCMAKE_INSTALL_PREFIX=/usr ..
....
-- Could NOT find Libobs (missing: LIBOBS_LIB)
CMake Error at external/FindLibObs.cmake:106 (message):
Could not find the libobs library
Call Stack (most recent call first):
CMakeLists.txt:5 (include)
-- Configuring incomplete, errors occurred could be resolved by installing $ sudo apt install libobs-dev |
I am running in to this myself, but I would like to prevent installing the libobs-dev package because I might run in to versioning problems - I'm running a portable obs-studio from my homedir, which is more recent than the available packages. Any pointers on how to achieve that? Probably need to give cmake another parameter to find the actual compiled libraries? |
Ah, found it. In order to make a build work like this, add an explicit reference to where your libobs.so resides: cmake -DLIBOBS_INCLUDE_DIR="../../obs-studio/libobs" -DCMAKE_INSTALL_PREFIX="${HOME}/obs-studio-portable" -DLIBOBS_LIB="${HOME}/obs-studio-portable/bin/64bit/libobs.so" .. and then proceed as normal. As a last step, the paths for make install are not quite right, I had to link the compiled v4l2sink.so in the 64bit directory (it was placed in bin, not in bin/64bit). After this the module is loading in obs. |
@florian: thanks, that is wonderful, this is the definitive solution to a lot of error reports here; cost me hours! Your solution is much better of course than to do a systemwide install of another OBS version (which was offered here before as a "solution"). There is really an incoherence in documentation here, as first a git checkout of OBS is done (which is to be installed in $HOME), but then, on the other hand, another systemwide installation of OBS (with libs in /usr/lib) is required. |
Don't @ mention me, please. |
I see, sorry for the inconvenience! |
Thank you both for sharing! |
How install this in Fedora? I have try but not found the equivalent package |
Also, how would I install this on Arch Linux? I could not find an equivalent package. |
I'm also on arch linux and I want to install libobs-dev on Arch |
With obs 26.1, you won't need this package, but if you still want to install it, there is an aur package: https://aur.archlinux.org/packages/obs-v4l2sink/ |
I found out that the problem is actually that I cannot install v4l2loopback, so this v4l2sink package installs on my laptop, not working because of v4l2loopback problem |
Read the top pinned comment on the aur package: https://aur.archlinux.org/packages/obs-v4l2sink/ |
I am not being able to install obs virtualcam https://imgur.com/iTD3lPx.png
The text was updated successfully, but these errors were encountered: