场景:ffmpeg在配置项中引入了x264报错
问题:ERROR: x264 not found using pkg-config
解决:
vim /etc/profile
- 末尾加入内容
export PKG_CONFIG_PATH=/usr/local/x264/lib/pkgconfig
,具体看各位自己x264的安装路径 source /etc/profile
- 然后再
./configure ...
就没问题了
但愿能解决你的问题 😃
场景:ffmpeg在配置项中引入了x264报错
问题:ERROR: x264 not found using pkg-config
解决:
vim /etc/profile
export PKG_CONFIG_PATH=/usr/local/x264/lib/pkgconfig
,具体看各位自己x264的安装路径source /etc/profile
./configure ...
就没问题了但愿能解决你的问题 😃