scaledteam / obs-image-reaction

OBS Plugin with image that reacts to sound source.
GNU General Public License v2.0
77 stars 11 forks source link

OBS-studio crashes upon launch - linux #3

Open LeilaVerbeeck opened 2 years ago

LeilaVerbeeck commented 2 years ago

Hi I'm running obs-studio on Pop_os, and have an issue where obs crashes on startup if the plugin is installed. Plugin was installed using instructions given, created a "plugins" folder in home/.config/obs-studio and placed the libimage-reaction folder, containing the data and bin folder into the there. obs won't start with these files in place, works fine when I remove them again.

Anyone know a fix? Happy to provide logs or such, but don't know how to do that, so if you need that tell me how and I'll happily oblige.

scaledteam commented 2 years ago

You tried to build plugin using "Building instructions" in README? If not, please try it.

LeilaVerbeeck commented 2 years ago

You tried to build plugin using "Building instructions" in README? If not, please try it.

I tried, but I got this error after trying to build using cmake (cmake ..):

-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:18 (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!
See also "/home/emi/obs-image-reaction/build/CMakeFiles/CMakeOutput.log".
scaledteam commented 2 years ago

You need to download header files for libobs. You probably will find it in libosb-dev package.