ladybird icon indicating copy to clipboard operation
ladybird copied to clipboard

Unable to build on MacOS 14.5 Sonoma - libavcodec can't be found

Open fitsum opened this issue 5 months ago • 6 comments

I saw the previous closed issue -- https://github.com/LadybirdBrowser/ladybird/issues/1254 -- however I've installed all required packages and attempted to build using all three recommended ways for MacOS: simple shell script invocation, using homebrew's clang, and using gdb. FFMPEG is installed already and used regularly on my machine. I've also followed brew's recommendation to install libav. I am still getting the following error

-- Checking for module 'libavcodec'
--   Package 'libavcodec' not found
CMake Error at /usr/local/Cellar/cmake/3.30.3/share/cmake/Modules/FindPkgConfig.cmake:645 (message):
  The following required packages were not found:

   - libavcodec

Call Stack (most recent call first):
  /usr/local/Cellar/cmake/3.30.3/share/cmake/Modules/FindPkgConfig.cmake:873 (_pkg_check_modules_internal)
  Userland/Libraries/LibMedia/CMakeLists.txt:23 (pkg_check_modules)


-- Configuring incomplete, errors occurred!

fitsum avatar Sep 08 '24 12:09 fitsum