CatxFish / obs-v4l2sink

obs studio output plugin for Video4Linux2 device
GNU General Public License v2.0
931 stars 99 forks source link

missing LIBOBS_LIB #79

Closed DorKeinath closed 3 years ago

DorKeinath commented 3 years ago

With

cmake -DLIBOBS_INCLUDE_DIR="../../obs-studio/libobs" -DCMAKE_INSTALL_PREFIX=/usr ..

I get

-- 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!

What can I do? qtbase5-dev is uptodate.

kevinkk525 commented 3 years ago

Same problem here

clemensvonmolo commented 3 years ago

Try doing sudo apt install libobs-dev I had the same error and this fixed it for me.

minced1 commented 3 years ago

Try doing sudo apt install libobs-dev I had the same error and this fixed it for me.

Is there a solution for Fedora? I tried to install it using dnf but it's not in the repositories. I installed RPMFusion both the free and the non-free one.

kevinkk525 commented 3 years ago

sudo apt install libobs-dev

Thanks that worked! Didn't think about that.

Cimbali commented 3 years ago

Checkout the PR #92 which should fix this issue

manuGe commented 3 years ago

Try doing sudo apt install libobs-dev I had the same error and this fixed it for me.

Is there a solution for Fedora? I tried to install it using dnf but it's not in the repositories. I installed RPMFusion both the free and the non-free one.

@JaCaGu477 after I installed the package obs-studio-devel from rpmfusion-free, I was able to build it.

DorKeinath commented 3 years ago

Thank you. There is no error anymore.