编译FFMPEG报错“not found using pkg-config”

问题描述 投票:0回答:1

我使用以下命令配置 FFMPEG:

./configure  --enable-pthreads --enable-pic --enable-shared --enable-rpath --arch=amd64 --enable-demuxer=dash --enable-libxml2 --enable-libvvdec --enable-libvvenc --disable-x86asm 

我有那个错误:

ERROR: libvvdec >= 1.6.0 not found using pkg-config

但是libvvdec库安装在1.6.1版本。如果我使用

pkg-config libvvdec --modversion
它表明:

1.6.1

那么,为什么会出现这个错误?

ffmpeg pkg-config
1个回答
0
投票

你的配置行应该是这样的:

PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/path/to/pkgconfig:/alt_path/to/pkgconfig" ./configure ...

© www.soinside.com 2019 - 2024. All rights reserved.