Closed gordio closed 4 years ago
Do you have FFmpeg installed?
No. After installing i have
-- Using libavcodec for image loading in libobs
CMake Error at obs/CMakeLists.txt:20 (find_package):
By not providing "FindQt5Widgets.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"Qt5Widgets", but CMake did not find one.
Could not find a package configuration file provided by "Qt5Widgets" with
any of the following names:
Qt5WidgetsConfig.cmake
qt5widgets-config.cmake
Add the installation prefix of "Qt5Widgets" to CMAKE_PREFIX_PATH or set
"Qt5Widgets_DIR" to a directory containing one of the above files. If
"Qt5Widgets" provides a separate development package or SDK, be sure it has
been installed.
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
FFMPEG_INCLUDE_DIR (ADVANCED)
used as include directory in directory /Users/gordio/Development/obs-studio/libobs
SWSCALE_LIB (ADVANCED)
linked by target "libobs" in directory /Users/gordio/Development/obs-studio/libobs
-- Configuring incomplete, errors occurred!
Looks as though the first problem is its having trouble the Qt5 make dir. Try looking here for more info on that issue https://github.com/jp9000/obs-studio/issues/73
The other issue looks like you don't have FFmpeg installed or it can't find it.
Just follow the build instructions found here https://github.com/jp9000/obs-studio/blob/master/INSTALL and you shouldn't have too many problems. Im assuming you are trying to compile on Mac.
I do:
Result:
Try install
Libswscale
but can't find.