gaycodegal
New Member
So when compiling the project for use with plugin, I made the mistake of running `cmake libobs`. This caused the error
CMake Error at CMakeLists.txt:5 (find_package):
By not providing "FindFFmpeg.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "FFmpeg", but
CMake did not find one.
Could not find a package configuration file provided by "FFmpeg" with any
of the following names:
FFmpegConfig.cmake
ffmpeg-config.cmake
Add the installation prefix of "FFmpeg" to CMAKE_PREFIX_PATH or set
"FFmpeg_DIR" to a directory containing one of the above files. If "FFmpeg"
provides a separate development package or SDK, be sure it has been
installed.
This also made full builds built with ./CI/full-build-macos.sh to fail with the same message. The solution was to delete CMakeCache.txt and then the CI script ran successfully (I mean i actually removed the whole of brew and reinstalled that and also removed the whole git project and redownloaded, but it turned out CMakeCache.txt was all that was needed to be removed)
CMake Error at CMakeLists.txt:5 (find_package):
By not providing "FindFFmpeg.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "FFmpeg", but
CMake did not find one.
Could not find a package configuration file provided by "FFmpeg" with any
of the following names:
FFmpegConfig.cmake
ffmpeg-config.cmake
Add the installation prefix of "FFmpeg" to CMAKE_PREFIX_PATH or set
"FFmpeg_DIR" to a directory containing one of the above files. If "FFmpeg"
provides a separate development package or SDK, be sure it has been
installed.
This also made full builds built with ./CI/full-build-macos.sh to fail with the same message. The solution was to delete CMakeCache.txt and then the CI script ran successfully (I mean i actually removed the whole of brew and reinstalled that and also removed the whole git project and redownloaded, but it turned out CMakeCache.txt was all that was needed to be removed)