Mac M1 ERROR: speex not found using pkg-config
来源:1-5 FFmpeg下载,编译与安装

煮剑_焚酒
2022-03-14
一个多星期了啊
ERROR: speex not found using pkg-config
ERROR: libx264 not found
ERROR: x265 not found using pkg-config
我下载 Homebrew 命令 安装这些库,安装完库重启电脑 还是报一样的错
我在网上找方法,这样做 也不行啊
./configure --prefix=/usr/local/ffmpeg --enable-gpl --enable-nonfree --enable-libfdk-aac --enable-libx264 --enable-libx265 --enable-filter=delogo --enable-debug --disable-optimizations --enable-libspeex --enable-videotoolbox --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --cc=clang --host-cflags= --host-ldflags= \
--extra-ldflags="-L/opt/homebrew/Cellar/speex/1.2.0/lib -L/opt/homebrew/Cellar/x265/3.5/lib -L/opt/homebrew/Cellar/x264/r3060/lib " --extra-cflags="-I/opt/homebrew/Cellar/speex/1.2.0/include -I/opt/homebrew/Cellar/x265/3.5/include -I/opt/homebrew/Cellar/x264/r3060/include"
写回答
2回答
-
煮剑_焚酒
提问者
2022-03-15
$PKG_CONFIG_PATH 我配置了怎么还是不行啊
00 -
李超
2022-03-14
课程讨论群里我回答你了吧?
022022-03-18
相似问题