[FFmpeg-devel] configure error: pkg not found even though it is available

Gyan Doshi ffmpeg at gyani.pro
Wed Jan 26 09:36:21 EET 2022



On 2022-01-26 12:55 pm, Helmut K. C. Tessarek wrote:
> Hello,
>
> I compile the static binaries for macOS and just got a configure error:
>
> ERROR: libvmaf >= 2.0.0 not found using pkg-config
>
> The file looks as follows:
>
> $ cat libvmaf.pc
> prefix=/Users/Shared/ffmpeg/sw
> libdir=${prefix}/lib
> includedir=${prefix}/include
>
> Name: libvmaf
> Description: VMAF, Video Multimethod Assessment Fusion
> Version: 2.3.0
> Libs: -L${libdir} -lvmaf -lm
> Cflags: -I${includedir} -I${includedir}/libvmaf
>
> And the library also exists in the lib directory.
>
> The full config.log is here: https://evermeet.cx/pub/tmp/config.log

Specific error is

     error: use of undeclared identifier 'vmaf_init'

The filter includes  <libvmaf.h>

Confirm that /Users/Shared/ffmpeg/sw/include/libvmaf  has current header 
which declares vmaf_init()

> This commit broke it: 3d29724c00

It builds here.

Regards,
Gyan


More information about the ffmpeg-devel mailing list