obs-v4l2sink icon indicating copy to clipboard operation
obs-v4l2sink copied to clipboard

Ubuntu 20.04 CMake Error

Open KoNickss opened this issue 4 years ago • 4 comments

-DCMAKE_INSTALL_PREFIX=/usr ..
CMake Error at external/FindLibObs.cmake:98 (include): include could not find load file:

/home/konicks/Desktop/obs-studio/libobs/../cmake/external/ObsPluginHelpers.cmake

Call Stack (most recent call first): CMakeLists.txt:6 (include)

-- Configuring incomplete, errors occurred! See also "/home/konicks/Desktop/obs-v4l2sink/build/CMakeFiles/CMakeOutput.log".

And I already have 'libobs-dev' installed, even tried reinstalling but no luck.

KoNickss avatar Nov 25 '20 15:11 KoNickss

Why are you compiling from source? If you don't have a specific reason, use the .deb package and run sudo apt install -f to make sure you don't have any missing dependencies. If the pluggin doesn't show up in OBS Try this:

mkdir -p ~/.config/obs-studio/plugins/v4l2sink/bin/64bit/
ln -s /usr/lib/obs-plugins/v4l2sink.so ~/.config/obs-studio/plugins/v4l2sink/bin/64bit/

Make sure you have v4l-utils v4l2loopback-dkms v4l2loopback-utils installed and the module loaded (sudo modprobe v4l2loopback devices=1 card_label="OBS Cam" exclusive_caps=1)

ispanos avatar Nov 26 '20 23:11 ispanos

Why are you compiling from source? If you don't have a specific reason, use the .deb package and run sudo apt install -f to make sure you don't have any missing dependencies. If the pluggin doesn't show up in OBS Try this:

mkdir -p ~/.config/obs-studio/plugins/v4l2sink/bin/64bit/
ln -s /usr/lib/obs-plugins/v4l2sink.so ~/.config/obs-studio/plugins/v4l2sink/bin/64bit/

Make sure you have v4l-utils v4l2loopback-dkms v4l2loopback-utils installed and the module loaded (sudo modprobe v4l2loopback devices=1 card_label="OBS Cam" exclusive_caps=1)

Where can I find the .deb?

Thanks in advance!

muadib25 avatar Dec 09 '20 11:12 muadib25

https://github.com/CatxFish/obs-v4l2sink/releases

ispanos avatar Dec 09 '20 12:12 ispanos

https://github.com/CatxFish/obs-v4l2sink/releases

Thank you!

muadib25 avatar Dec 09 '20 17:12 muadib25