CatxFish / obs-v4l2sink

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

Cmake fails #62

Closed mbootsman closed 3 years ago

mbootsman commented 3 years ago

After running: cmake -DLIBOBS_INCLUDE_DIR="../../obs-studio/libobs" -DCMAKE_INSTALL_PREFIX=/usr ..

I get this error message. What do I need to do to make it work?

-- Could NOT find MbedTLS (missing: MBEDTLS_LIBRARIES MBEDTLS_INCLUDE_DIRS) 
CMake Warning at plugins/obs-outputs/CMakeLists.txt:13 (message):
  mbedTLS or zlib was not found, RTMPS will be auto-disabled

-- Found ftl-sdk: ftl outputs enabled
-- SpeexDSP support not found
-- Freetype library not found, Freetype text plugin disabled
CMake Error at UI/CMakeLists.txt:127 (find_package):
  By not providing "FindQt5X11Extras.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "Qt5X11Extras", but CMake did not find one.

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

    Qt5X11ExtrasConfig.cmake
    qt5x11extras-config.cmake

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

-- Configuring incomplete, errors occurred!
patomation commented 3 years ago

Did you try to install QT using sudo apt install qtbase5-dev That might help?

mbootsman commented 3 years ago

That solved it. Thanks!