我正在尝试编译 Festival在 MingW32 上,所以我可以有一个 Windows 二进制文件。我在他们的网站上找不到 Windows 二进制文件。谁有可以发布的?
如果没有,这就是我目前所拥有的。我执行了 ./configure 并为它创建并收到以下消息:
$ make config/config:43: ../speech_tools/config/config: No such file or directory
所以,我下载了 speech_tools tar ball 并获得了。 ./configure 和 make 是否得到:
$ make config/config:156: config/systems/ix86_unknown.mak: No such file or directory ../config/config:156: ../config/systems/ix86_unknown.mak: No such file or directory make: *** No rule to make target `../config/systems/ix86_unknown.mak'. Stop. config/rules/modules.mak:133: config/modincludes.inc: No such file or directory make --no-print-directory -C ./config MADE_FROM_ABOVE=1 MODINCLUDES=1 INCLUDE_EVERYTHING='' modincludes.inc ../config/config:156: ../config/systems/ix86_unknown.mak: No such file or directory make[1]: *** No rule to make target `../config/systems/ix86_unknown.mak'. Stop. make: *** [config/modincludes.inc] Error 2
因此,我将 config/systems/ix86_CYGWIN32.mak 复制到 ix86_unknown.mak 并再次尝试。现在我收到这条消息:
g++ -c -fno-implicit-templates -O3 -Wall -Wno-non-template-friend -Wno-deprecated -DSUPPORT_EDITLINE -I../include slib.cc In file included from slib.cc:85: ../include/EST_unix.h:53:25: sys/wait.h: No such file or directory ../include/EST_unix.h:54:29: sys/resource.h: No such file or directory In file included from ../include/EST_String.h:50, from ../include/siod.h:17, from slib.cc:88: ../include/EST_iostream.h:54:26: strstream.h: No such file or directory In file included from ../include/EST_TList.h:50, from ../include/EST_string_aux.h:43, from ../include/siod.h:18, from slib.cc:88:
从哪里获得 sys/wait.h、sys/resource.h 和 strstream.h?我宁愿不必在 Cygwin 中尝试这一点并随身携带那些烦人的 DLL。有什么建议吗?
最佳答案
Windows 二进制文件可用 here
关于c++ - MingW32 编译节,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1990526/