CatxFish / obs-v4l2sink

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

cant build in ubuntu 20.04 #52

Closed mujeebcpy closed 3 years ago

mujeebcpy commented 4 years ago

i getting an error while building. is there any possibility to install simple as a plugin without these complex building procedure ? this is the error i got.

CMake Error at CMakeLists.txt:6 (find_package):
  By not providing "FindLibObs.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "LibObs", but
  CMake did not find one.

  Could not find a package configuration file provided by "LibObs" with any
  of the following names:

    LibObsConfig.cmake
    libobs-config.cmake

  Add the installation prefix of "LibObs" to CMAKE_PREFIX_PATH or set
  "LibObs_DIR" to a directory containing one of the above files.  If "LibObs"
  provides a separate development package or SDK, be sure it has been
  installed.

-- Configuring incomplete, errors occurred!
huertacjavier commented 4 years ago

Same error as him. Despite file LibObsConfig.cmake.in is in /home/user/obs-studio/libobs/

I try to copy such file i directory /home/user/obs-v4l2sink/ but it doesn't work yet

zeevox commented 4 years ago

sudo apt install libobs-dev worked for me

SamyGarib commented 4 years ago

sudo apt install libobs-dev worked for me

worked for me too. thanks.

killlmoo commented 4 years ago

sudo apt install libobs-dev worked for me

worked for me

patomation commented 3 years ago

sudo apt install libobs-dev worked for me

worked for me And it worked for me. Can I add this to the documentation?

patomation commented 3 years ago

Added a pull request to add this to documentation.

72