c++ - MingW32 编译节

标签 c++ mingw festival

我正在尝试编译 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/

相关文章:

c++ - Festival C/C++ API编译实例,链接库报错

c++ - 在 Visual Studio 2008 监 window 口中调试 C++ 虚拟多重继承

c++ - 简单的位级序列化

c++ - 迭代结构中定义的 vector

c - eclipse CDT : Dynamic Printf feature not working

python - 将用户输入传递给节日

c++ - 内置式效率

linux - 是否有适用于 Linux 的 Clang mingw 交叉编译器

c++ - Qt : CONFIG += C++11, 但 -std=c++0x

text-to-speech - 将 Festival tts 转换为 flite tts