在OSX上构建ffmpeg
./configure --enable-avfilter --enable-filter=movie --enable-gpl --enable-postproc
--enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis
--enable-libtheora --enable-libdirac --enable-libschroedinger --enable-libfaac
--enable-libxvid --enable-libx264 --enable-libvpx --enable-libspeex --enable-nonfree
--enable-shared --enable-pthreads --disable-indevs --cc=/usr/bin/gcc-4.2 --arch=x86_64
给出错误:
错误:未找到libfaac
如果您认为configure出错了,
确保您使用的是最新的
SVN的版本。如果是最新的
版本失败,报告问题
ffmpeg-user@mplayerhq.hu邮件
列表或IRC #ffmpeg on
irc.freenode.net。包括日志文件
configure为“config.log”
这将有助于解决问题。
但是locate faac
给出了
/opt/local/bin/faac
/opt/local/include/faac.h
/opt/local/include/faaccfg.h
/opt/local/lib/libfaac.0.dylib
/opt/local/lib/libfaac.a
/opt/local/lib/libfaac.dylib
知道我怎么能告诉配置脚本如何找到libfaac?
没有找到相关结果
已邀请:
4 个回复
嫩昧竞莫
脚本将利用环境变量CPPFLAGS和LDFLAGS。你需要同时使用它们。 将CPPFLAGS设置为
,以便找到头文件,并将LDFLAGS设置为
,以便链接器找到库。 除了特定于您正在使用的shell的“环境变量”解决方案之外,在
中设置这些变量的一种方法是使用以下命令启动后者:
痴浪墨
。 我也有错误信息
;我不得不升级
:
。
埠仙俊
课刊灭似