nhielost / obs-midi-mg

Allows MIDI devices to interact with OBS Studio.
GNU General Public License v2.0
156 stars 9 forks source link

Cannot Build obs-midi-mg in Fedora. #145

Open GraysonPeddie opened 1 month ago

GraysonPeddie commented 1 month ago

As there is not an RPM package, I tried to use alien to convert from deb to rpm which works fine, but I tried installing obs-midi-mg with the created .rpm file and I get package conflicts with filesystem.

So, I turned over to build obs-midi-mg from source. I did a cmake .. inside a build directory I created.

-- The C compiler identification is GNU 14.2.1
-- The CXX compiler identification is GNU 14.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 cmake/linux/defaults.cmake:63 (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.
Call Stack (most recent call first):
  CMakeLists.txt:15 (include)

-- Configuring incomplete, errors occurred!

Seems to me building from source with cmake is complicated for me. Can I please at least have a proper RPM package for installing obs-midi-mg?

Thank you.