2022-02-23, 10:36
With Arch Linux having put out ffmpeg-5.0 along-side ffmpeg-4.4, I encountered a build problem.
My resolution was a simple prior to using cmake.
Hint: If you already used cmake before using the export, just wipe the cmake build directory first and issue a clean cmake.
You'll want to see instead of
My resolution was a simple
Code:
export PKG_CONFIG_PATH="/usr/lib/ffmpeg4.4/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig"
Hint: If you already used cmake before using the export, just wipe the cmake build directory first and issue a clean cmake.
You'll want to see
Code:
-- Found FFMPEG: /usr/include/ffmpeg4.4 (found version "4.4.1")
Code:
-- Found FFMPEG: /usr/include (found version "4.4.1")