dougg3 / obs-ios-camera-source

Use your iPhone camera as a video source in OBS Studio and stream high quality video from your iPhone's camera over USB
https://obs.camera/
GNU General Public License v2.0
49 stars 17 forks source link

Build fail on arch from source #23

Open TheDogHusky opened 5 months ago

TheDogHusky commented 5 months ago

Hey!

I followed the docs, and came accross an issue I can't seem to found a solution on while running cmake .. in the build directory.

Here is the issue I get:

[adam@TOUR-ADAM build]$ cmake ..
-- The C compiler identification is GNU 13.2.1
-- The CXX compiler identification is GNU 13.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:17 (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!

I tried following this article: https://bbs.archlinux.org/viewtopic.php?id=282558 But when installing the package on AUR with Yay, I got the same error coming up, preventing me from trying the solutions. image

Anyone can help me?

dougg3 commented 5 months ago

Hey there,

How did you install OBS? I just made an Arch VM from scratch to test the existing instructions out and everything worked fine and it detected libobs without any problems. I installed OBS using the obs-studio-browser package from AUR. You might want to try that method.