使用Mingw从源代码构建libvorbis:"您必须安装automake才能编译vorbis"

时间:2014-08-19 13:48:11

标签: windows mingw automake vorbis

我正在尝试将我在gnu / linux上创建的项目移植到Windows。该项目使用vorbis库来解码“.ogg”文件。

我需要从源代码构建项目,因为我找不到任何预先构建的Windows二进制文件。在linux上我刚刚安装了“libvorbis-dev”软件包。

自述文件告诉我,我应该输入./autogen.sh后跟make来构建库。

当我在msys终端输入./autogen.sh时,我得到以下输出:

checking for autoconf... 
checking for automake 1.11 or later... no
checking for aclocal 1.11 or later... no

You must have automake installed to compile vorbis.
Download the appropriate package for your distribution,
or get the source tarball at ftp://ftp.gnu.org/pub/gnu/

我已尝试安装此http://gnuwin32.sourceforge.net/packages/automake.htm,但我仍然遇到同样的错误。

任何可以让这个库在Windows上工作和链接的帮助都将不胜感激。

1 个答案:

答案 0 :(得分:0)

您需要使用automake的MSYS版本。您可以使用mingw-get install msys-automake进行安装,也可以直接下载:

http://sourceforge.net/projects/mingw/files/MSYS/msysdev/automake/