windows - 尝试在 Windows 上使用 make 编译会出现错误 127

标签 windows makefile compiler-errors compilation

这是我第一次尝试在 Windows 中编译任何东西,它已经让我毛骨悚然(不是因为 Windows)。
我从这里下载了一本字典:

https://www.j3e.de/ispell/igerman98/dict/igerman98-20161207.tar.bz2

当我提取文件夹时,会有一个 Makefile,所以我认为我必须先编译程序。我尝试了两种方法:第一个 Cygwin,第二个 MinGW。这两个程序都在我的 PATH 中。

我使用两个程序的终端导航到 D:/igerman98 并在那里输入

make

我收到的第一条消息是:
$ make
A default make target doesn't exist. You might want to use one of those:
  make hunspell/de_DE.dic hunspell/de_DE.aff (or de_AT or de_CH)
  make myspell/de_DE.dic myspell/de_DE.aff (or de_AT or de_CH)
  make ispell/de_DE.aff ispell/de_DE.hash (or de_AT, de_CH ...)
  make aspell/de_DE.rws (or de_AT, de_CH ...)
  make ligature/rmligs
  make isowordlist-de_DE (or de_AT, de_CH ...)
Did I forget an important one ?-)

所以我再次输入以下内容:
make hunspell/de_DE.dic hunspell/de_DE.aff

但后来我收到以下错误:
$ make hunspell/de_DE.dic hunspell/de_DE.aff
test -e all.words.placebo.tmp || echo a > all.words.placebo.tmp
buildhash all.words.placebo.tmp ispell/de_DE_null.aff ispell/de_DE_null.hash
make: buildhash: Command not found
make: *** [ispell/de_DE_null.hash] Error 127

我在这里做错了什么?我只想创建 de_DE.dic 和 de_DE.aff 文件,这样我就可以将它们与 Textadept 中的拼写模块一起使用...

最佳答案

在 Linux 下,程序 buildhash附带 ispell 包。在 Windows 下,可以使用:ISPELL for Windwos

关于windows - 尝试在 Windows 上使用 make 编译会出现错误 127,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44304286/

相关文章:

java - Windows批处理文件: How to redirect console logs of a background process to 'NUL'

c++ - 2 第 3 方 C 和 C++ 库具有与 Object 相同的类和结构名称,因此我得到对 'Object' 的引用是不明确的错误

c - 使用sdl2在gitlab中构建管道失败

c++ - 我如何将无效操作数修复为二进制表达式问题 ('const char * and ' double')

C# 未处理的异常 : Cannot Read from a Closed Textreader

windows - Direct3DCreate9Ex 在作为 Windows 服务运行时返回 D3DERR_NOTAVAILABLE (0x8876086a)

java - 使用Oracle JDK 14时,所有gradle(6.2.2)任务都将失败,并带有 "Could not initialize class org.codehaus.groovy.runtime.InvokerHelper"

c++ - 错误 C4703 使用了可能未初始化的本地指针变量 'y'

linux - 典型的 ./configure 在 Linux 中做了什么?

optimization - 人工智能编译器