CatxFish / obs-v4l2sink

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

Cant install #46

Open fakename131 opened 4 years ago

fakename131 commented 4 years ago

when i type cmake -DLIBOBS_INCLUDE_DIR="../../obs-studio/libobs" -DCMAKE_INSTALL_PREFIX=/usr .. it says -- Configuring incomplete, errors occurred!

DL1DLX commented 4 years ago

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

mika commented 4 years ago

You need to install libobs-dev (that's the package name on Debian, adjust for your distribution accordingly).

adremides commented 4 years ago

You need to install libobs-dev (that's the package name on Debian, adjust for your distribution accordingly).

Maybe this should be under a "requirements" section in the readme. Thank you for this info!

ogmkp commented 4 years ago

I had the same problem and modified the CMakeLists.txt for a working solution: Replace Line 5: include(external/FindLibObs.cmake)

by: if (WIN32 OR APPLE) include(external/FindLibObs.cmake) endif()

huertacjavier commented 4 years ago

adremides solution worked for me. Thanks!

Torkin1 commented 4 years ago

If you are fedora user:

dnf install obs-studio-devel

I'm a fedora 31 user and this method worked for me.