nmake u1034 分隔符丢失

发布于 2024-09-10 17:56:37 字数 260 浏览 3 评论 0原文

我尝试在 dos-prompt 中使用 nmake 执行 make 文件并收到以下消息:

makefile.in(145):致命错误 U1034:语法错误:分隔符丢失

我查看了 make 文件,第 145 行显示:

ifeq(@INSTALINFO_FOUND@,是)

我完全不知道如何解决这个问题......你有什么想法吗?

I've tried to execute make file with nmake in dos-prompt and got the following message:

makefile.in(145) : fatal error U1034: syntax error : separator missing

I took a look into the make file and the line 145 says:

ifeq (@INSTALINFO_FOUND@,yes)

I have absolutely no clue how to fix this ... Do you have any ideas?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

蝶…霜飞 2024-09-17 17:56:37

Makefile.in 指示您应该使用的构建系统是 GNU 自动工具。这些会将您的文件预处理为 GNU 格式的 makefile。然后您需要将 GNU make 与这些 makefile 一起使用。

nmake 是一个完全不同的野兽,与这些文件不兼容。

我建议您调查一下您的软件包是否可以使用 Microsft 工具构建(在其文档中查找诸如 nmakeVisual StudioWindows 等词)。您的另一个选择是获取 Autotools 的 Windows 端口。 Cygwin 很好,但对于粗心的人来说,这里有龙。

Makefile.in indicates the build system you should use is the GNU autotools. These will pre-process your files into GNU format makefile(s). You are then expected to use GNU make with these makefiles.

nmake is a completely different beast and will not be compatible with these files.

I suggest you investigate whether your package is buildable using Microsft tools (hunt out words like nmake or Visual Studio or Windows etc., in its documentation). Your other alternative is to grab a windows port of the Autotools. Cygwin is good, but here be dragons for the unwary.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文