Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我尝试在 dos-prompt 中使用 nmake 执行 make 文件并收到以下消息:
makefile.in(145):致命错误 U1034:语法错误:缺少分隔符
我查看了 make 文件,第 145 行说:
ifeq(@INSTALINFO_FOUND@,是的)
我完全不知道如何解决这个问题......你有什么想法吗?
Makefile.in表示您应该使用的构建系统是 GNU 自动工具。这些会将您的文件预处理为 GNU 格式的 makefile。然后,您应该将 GNU make 与这些 makefile 一起使用。
Makefile.in
nmake是完全不同的野兽,不会与这些文件兼容。
nmake
我建议您调查您的包是否可以使用 Microsft 工具构建(在其文档中查找诸如nmake或Visual Studio或Windows等词)。您的另一种选择是获取 Autotools 的 Windows 端口。Cygwin 很好,但这里是粗心的龙。