简体   繁体   English

MingW32上的编译节

[英]Compiling Festival on MingW32

I'm trying to compile Festival on MingW32, so I can have a Windows binary. 我试图在MingW32上编译Festival ,所以我可以使用Windows二进制文件。 I couldn't find the Windows binary on their site. 我在他们的网站上找不到Windows二进制文件。 Anyone have one they can post? 有人可以发布吗?

If not, here's what I have so far. 如果没有,这就是我到目前为止的情况。 I did the ./configure and make for it and have the following message: 我做了./configure并为此添加了以下消息:

$ make
config/config:43: ../speech_tools/config/config: No such file or directory

So, I downloaded the speech_tools tar ball and got. 因此,我下载了Speech_tools tar球并得到了。 Did the ./configure and make to get: 进行./configure并获取:

$ 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

So, I copied config/systems/ix86_CYGWIN32.mak to ix86_unknown.mak and tried again. 因此,我将config / systems / ix86_CYGWIN32.mak复制到ix86_unknown.mak并再次尝试。 Now I get this message: 现在我收到此消息:

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:

Where do I get sys/wait.h, sys/resource.h and strstream.h? 在哪里可以找到sys / wait.h,sys / resource.h和strstream.h? I'd rather not have to try this whole bit in Cygwin and carry around those annoying DLL's. 我宁愿不必在Cygwin中尝试整个过程并携带那些烦人的DLL。 Any advice? 有什么建议吗?

Windows二进制文件在这里可用

完整安装cygwin可以使您更进一步,而不仅仅是mingwin,但我不能保证会成功。

I run Ubuntu and remember having Festival available in the Synaptics repository, implying I just had to double click the name, and the thing installed itself with all its dependencies. 我运行Ubuntu,记得在Synaptics存储库中有Festival,这意味着我只需要双击该名称,然后它便会自动安装所有依赖项。
If all else fails, you might want to run a VM with ubuntu or dual boot. 如果所有其他方法均失败,则可能要使用ubuntu或双引导方式运行VM。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM