0

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

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

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

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

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 上工作和链接的帮助都将不胜感激。

4

1 回答 1

0

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

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

于 2014-08-19T14:16:47.307 回答